Lines Matching defs:validity
119 free_validity(KMF_X509_VALIDITY *validity)
121 free_data(&validity->notBefore.time);
122 free_data(&validity->notAfter.time);
190 free_validity(&tbscert->validity);
687 encode_validity(BerElement *asn1, KMF_X509_VALIDITY *validity)
692 validity->notBefore.timeType,
693 validity->notBefore.time.Data,
694 validity->notAfter.timeType,
695 validity->notAfter.time.Data);
704 get_validity(BerElement *asn1, KMF_X509_VALIDITY *validity)
712 (void) memset(validity, 0, sizeof (KMF_X509_VALIDITY));
723 validity->notBefore.timeType = t1;
724 validity->notBefore.time.Data = (uchar_t *)t1str;
725 validity->notBefore.time.Length = strlen(t1str);
727 validity->notAfter.timeType = t2;
728 validity->notAfter.time.Data = (uchar_t *)t2str;
729 validity->notAfter.time.Length = strlen(t2str);
1397 if ((ret = get_validity(asn1, &tbscert->validity)) != KMF_OK)
1724 if ((ret = encode_validity(asn1, &tbscert->validity)) != KMF_OK)