Lines Matching refs:cert
745 const CERT_CONTEXT *cert; in request_query_option() local
747 if (!buffer || *buflen < sizeof(cert)) in request_query_option()
749 *buflen = sizeof(cert); in request_query_option()
754 if (!(cert = CertDuplicateCertificateContext( request->server_cert ))) return FALSE; in request_query_option()
755 *(CERT_CONTEXT **)buffer = (CERT_CONTEXT *)cert; in request_query_option()
756 *buflen = sizeof(cert); in request_query_option()
761 const CERT_CONTEXT *cert = request->server_cert; in request_query_option() local
773 if (!cert) return FALSE; in request_query_option()
775 ci->ftExpiry = cert->pCertInfo->NotAfter; in request_query_option()
776 ci->ftStart = cert->pCertInfo->NotBefore; in request_query_option()
777 ci->lpszSubjectInfo = blob_to_str( cert->dwCertEncodingType, &cert->pCertInfo->Subject ); in request_query_option()
778 ci->lpszIssuerInfo = blob_to_str( cert->dwCertEncodingType, &cert->pCertInfo->Issuer ); in request_query_option()
780 …oidInfo = CryptFindOIDInfo( CRYPT_OID_INFO_OID_KEY, cert->pCertInfo->SignatureAlgorithm.pszObjId, … in request_query_option()
1024 const CERT_CONTEXT *cert; in request_set_option() local
1036 else if (buflen >= sizeof(cert)) in request_set_option()
1038 if (!(cert = CertDuplicateCertificateContext( buffer ))) return FALSE; in request_set_option()
1040 request->client_cert = cert; in request_set_option()