Home
last modified time | relevance | path

Searched refs:asn1Time (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/identity/aidl/vts/
DUtil.cpp293 bool parseAsn1Time(const ASN1_TIME* asn1Time, time_t* outTime) { in parseAsn1Time() argument
297 const char* timeStr = (const char*)asn1Time->data; in parseAsn1Time()
299 if (asn1Time->type == V_ASN1_UTCTIME) { in parseAsn1Time()
304 } else if (asn1Time->type == V_ASN1_GENERALIZEDTIME) { in parseAsn1Time()
308 LOG(ERROR) << "Unsupported ASN1_TIME type " << asn1Time->type; in parseAsn1Time()
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp325 bool parseAsn1Time(const ASN1_TIME* asn1Time, time_t* outTime) { in parseAsn1Time() argument
329 const char* timeStr = (const char*)asn1Time->data; in parseAsn1Time()
331 if (asn1Time->type == V_ASN1_UTCTIME) { in parseAsn1Time()
336 } else if (asn1Time->type == V_ASN1_GENERALIZEDTIME) { in parseAsn1Time()
340 LOG(ERROR) << "Unsupported ASN1_TIME type " << asn1Time->type; in parseAsn1Time()