Searched refs:pcert (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | certop.c | 2395 KMF_DATA *pcert = NULL; local 2429 pcert = kmf_get_attr_ptr(KMF_CERT_DATA_ATTR, attrlist, numattr); 2431 if (kstype == NULL || pcert == NULL || result == NULL) 2445 if ((ret = kmf_get_cert_issuer_str(handle, pcert, 2456 if ((ret = kmf_get_cert_subject_str(handle, pcert, 2477 ret = cert_ku_check(handle, pcert); 2485 ret = cert_eku_check(handle, pcert); 2500 ret = kmf_check_cert_date(handle, pcert); 2528 ret = verify_cert_with_cert(handle, pcert, pcert); [all...] |
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 1091 CreateCertObject(KMF_HANDLE_T handle, char *label, KMF_DATA *pcert) argument 1116 if (pcert == NULL || pcert->Data == NULL || pcert->Length == 0) 1124 rv = DerDecodeSignedCertificate((const KMF_DATA *)pcert, 1186 SETATTR(x509templ, i, CKA_VALUE, pcert->Data, pcert->Length); i++;
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 2019 OpenSSL_CertGetPrintable(KMF_HANDLE_T handle, const KMF_DATA *pcert, argument 2039 if (pcert == NULL || pcert->Data == NULL || pcert->Length == 0) { 2044 outbuf = malloc(pcert->Length); 2048 (void) memcpy(outbuf, pcert->Data, pcert->Length); 2051 xcert = d2i_X509(NULL, (const uchar_t **)&outbuf_p, pcert->Length);
|
Completed in 113 milliseconds