Lines Matching refs:cert
138 +#include <cert.h>
552 + * At present, MS Crypto engine do not provide a way to setup a cert store.
782 +#include <cert.h>
918 + * the certDB handler at present. I'll modify the cert store sources to
1242 -#include <cert.h>
1853 - CERTCertificate *cert = NULL;
1882 - * name as a cert nickname. Later on, we can attempt to find
1888 - cert = CERT_FindCertByNickname (CERT_GetDefaultCertDB(), (char *)name);
1889 - if (cert == NULL) {
1899 - pubkey = CERT_ExtractPublicKey(cert);
1920 - privkey = PK11_FindKeyByAnyCert(cert, NULL);
1987 - ret = xmlSecNssKeyDataX509AdoptKeyCert(x509Data, cert);
1997 - cert = CERT_DupCertificate(cert);
1998 - if (cert == NULL) {
2018 - ret = xmlSecNssKeyDataX509AdoptCert(x509Data, cert);
2034 - cert = NULL;
2079 - if (cert != NULL) {
2080 - CERT_DestroyCertificate(cert);
4929 -static int xmlSecNssX509CertificateNodeWrite (CERTCertificate* cert,
4935 -static int xmlSecNssX509SubjectNameNodeWrite (CERTCertificate* cert,
4941 -static int xmlSecNssX509IssuerSerialNodeWrite (CERTCertificate* cert,
4947 -static int xmlSecNssX509SKINodeWrite (CERTCertificate* cert,
4965 -static xmlChar* xmlSecNssX509SKIWrite (CERTCertificate* cert);
4966 static void xmlSecNssX509CertDebugDump (CERTCertificate* cert,
4968 static void xmlSecNssX509CertDebugXmlDump (CERTCertificate* cert,
4975 CERTCertificate* cert;
5011 - ret = xmlSecNssX509CertificateNodeWrite(cert, node, keyInfoCtx);
5014 + buf = xmlSecNssX509CertBase64DerWrite(cert, keyInfoCtx->base64LineSize);
5028 - ret = xmlSecNssX509SubjectNameNodeWrite(cert, node, keyInfoCtx);
5052 - ret = xmlSecNssX509IssuerSerialNodeWrite(cert, node, keyInfoCtx);
5075 - ret = xmlSecNssX509SKINodeWrite(cert, node, keyInfoCtx);
5143 -xmlSecNssX509CertificateNodeWrite(CERTCertificate* cert, xmlNodePtr node, xmlSecKeyInfoCtxPtr keyI…
5147 - xmlSecAssert2(cert != NULL, -1);
5152 - buf = xmlSecNssX509CertBase64DerWrite(cert, keyInfoCtx->base64LineSize);
5205 cert = xmlSecNssX509StoreFindCert(x509Store, subject, NULL, NULL, NULL, keyInfoCtx);
5211 -xmlSecNssX509SubjectNameNodeWrite(CERTCertificate* cert, xmlNodePtr node, xmlSecKeyInfoCtxPtr keyI…
5215 - xmlSecAssert2(cert != NULL, -1);
5218 - buf = xmlSecNssX509NameWrite(&(cert->subject));
5222 - "xmlSecNssX509NameWrite(&(cert->subject))",
5275 -xmlSecNssX509IssuerSerialNodeWrite(CERTCertificate* cert, xmlNodePtr node, xmlSecKeyInfoCtxPtr key…
5281 - xmlSecAssert2(cert != NULL, -1);
5319 - buf = xmlSecNssX509NameWrite(&(cert->issuer));
5323 - "xmlSecNssX509NameWrite(&(cert->issuer))",
5331 - buf = xmlSecNssASN1IntegerWrite(&(cert->serialNumber));
5335 - "xmlSecNssASN1IntegerWrite(&(cert->serialNumber))",
5370 cert = xmlSecNssX509StoreFindCert(x509Store, NULL, NULL, NULL, ski, keyInfoCtx);
5376 -xmlSecNssX509SKINodeWrite(CERTCertificate* cert, xmlNodePtr node, xmlSecKeyInfoCtxPtr keyInfoCtx A…
5380 - xmlSecAssert2(cert != NULL, -1);
5383 - buf = xmlSecNssX509SKIWrite(cert);
5504 + * Get Public key from cert, which does not always work for sign
5518 + slot = cert->slot ;
5520 + if( ( priKey = PK11_FindPrivateKeyFromCert( slot , cert , NULL ) ) == NULL ) {
5531 + if( ( pubKey = CERT_ExtractPublicKey( cert ) ) == NULL ) {
5613 -xmlSecNssX509SKIWrite(CERTCertificate* cert) {
5618 - xmlSecAssert2(cert != NULL, NULL);
5622 - rv = CERT_FindSubjectKeyIDExtension(cert, &ski);
5650 xmlSecNssX509CertDebugDump(CERTCertificate* cert, FILE* output) {
5684 CERTCertificate *cert = NULL;
5779 cert = CERT_FindCertByIssuerAndSN(CERT_GetDefaultCertDB(),
5792 return(cert);