Lines Matching defs:cert
479 SecCertificateRef cert = NULL;
480 ret = SecIdentityCopyCertificate(identity, &cert);
481 if (ret || cert == NULL) {
484 if (cert)
485 CFRelease_and_null(cert);
491 ret = SecCertificateCopyPublicKey(cert, &key);
492 CFRelease_and_null(cert);
1243 SecCertificateRef cert = NULL;
1244 (void) SecIdentityCopyCertificate(identity, &cert);
1245 if (cert != NULL) {
1246 CFDataRef subject = SecCertificateCopyNormalizedSubjectContent(cert, NULL);
1255 CFRelease_and_null(cert);
1278 SecCertificateRef cert = tlsst_copy_peer_cert(sess);
1279 if (cert != NULL) {
1280 CFDataRef issuer = SecCertificateCopyNormalizedIssuerContent(cert, NULL);
1289 CFRelease_and_null(cert);
1331 SecCertificateRef cert = tlsst_copy_peer_cert(sess);
1332 if (cert == NULL) {
1364 CFDictionaryRef certContents = SecCertificateCopyValues(cert, NULL, NULL);
1479 CFRelease_and_null(cert);