/external/openssl/crypto/asn1/ |
D | t_spki.c | 73 int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki) in NETSCAPE_SPKI_print() argument 80 i=OBJ_obj2nid(spki->spkac->pubkey->algor->algorithm); in NETSCAPE_SPKI_print() 83 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in NETSCAPE_SPKI_print() 90 chal = spki->spkac->challenge; in NETSCAPE_SPKI_print() 93 i=OBJ_obj2nid(spki->sig_algor->algorithm); in NETSCAPE_SPKI_print() 97 n=spki->signature->length; in NETSCAPE_SPKI_print() 98 s=(char *)spki->signature->data; in NETSCAPE_SPKI_print()
|
/external/openssl/apps/ |
D | spkac.c | 94 NETSCAPE_SPKI *spki = NULL; in MAIN() local 202 spki = NETSCAPE_SPKI_new(); in MAIN() 203 if(challenge) ASN1_STRING_set(spki->spkac->challenge, in MAIN() 205 NETSCAPE_SPKI_set_pubkey(spki, pkey); in MAIN() 206 NETSCAPE_SPKI_sign(spki, pkey, EVP_md5()); in MAIN() 207 spkstr = NETSCAPE_SPKI_b64_encode(spki); in MAIN() 259 spki = NETSCAPE_SPKI_b64_decode(spkstr, -1); in MAIN() 261 if(!spki) { in MAIN() 284 if(!noout) NETSCAPE_SPKI_print(out, spki); in MAIN() 285 pkey = NETSCAPE_SPKI_get_pubkey(spki); in MAIN() [all …]
|
D | ca.c | 2276 NETSCAPE_SPKI *spki = NULL; in certify_spkac() local 2349 spki = NETSCAPE_SPKI_b64_decode(cv->value, -1); in certify_spkac() 2350 if (spki == NULL) in certify_spkac() 2364 if (spki == NULL) in certify_spkac() 2377 if ((pktmp=NETSCAPE_SPKI_get_pubkey(spki)) == NULL) in certify_spkac() 2383 j = NETSCAPE_SPKI_verify(spki, pktmp); in certify_spkac() 2399 if (spki != NULL) NETSCAPE_SPKI_free(spki); in certify_spkac()
|
/external/openssl/crypto/x509/ |
D | x509spki.c | 83 NETSCAPE_SPKI *spki; in NETSCAPE_SPKI_b64_decode() local 97 spki = d2i_NETSCAPE_SPKI(NULL, &p, spki_len); in NETSCAPE_SPKI_b64_decode() 99 return spki; in NETSCAPE_SPKI_b64_decode() 104 char * NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *spki) in NETSCAPE_SPKI_b64_encode() argument 109 der_len = i2d_NETSCAPE_SPKI(spki, NULL); in NETSCAPE_SPKI_b64_encode() 117 i2d_NETSCAPE_SPKI(spki, &p); in NETSCAPE_SPKI_b64_encode()
|
D | x509.h | 658 int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki);
|
/external/chromium/net/base/ |
D | keygen_handler_openssl.cc | 25 crypto::ScopedOpenSSL<NETSCAPE_SPKI, NETSCAPE_SPKI_free> spki( in GenKeyAndSignChallenge() local 27 ASN1_STRING_set(spki.get()->spkac->challenge, in GenKeyAndSignChallenge() 29 NETSCAPE_SPKI_set_pubkey(spki.get(), pkey); in GenKeyAndSignChallenge() 32 NETSCAPE_SPKI_sign(spki.get(), pkey, EVP_md5()); in GenKeyAndSignChallenge() 33 char* spkistr = NETSCAPE_SPKI_b64_encode(spki.get()); in GenKeyAndSignChallenge()
|
D | keygen_handler_mac.cc | 29 CSSM_X509_SUBJECT_PUBLIC_KEY_INFO spki; member 48 offsetof(PublicKeyAndChallenge, spki), 153 spkac.pkac.spki.algorithm.algorithm = CSSMOID_RSA; in GenKeyAndSignChallenge() 154 spkac.pkac.spki.subjectPublicKey.Length = in GenKeyAndSignChallenge() 156 spkac.pkac.spki.subjectPublicKey.Data = in GenKeyAndSignChallenge()
|
D | dnssec_keyset.cc | 204 CERTSubjectPublicKeyInfo* spki = NULL; in VerifySignature() local 209 spki = SECKEY_DecodeDERSubjectPublicKeyInfo(&spki_der); in VerifySignature() 210 if (!spki) in VerifySignature() 212 SECKEYPublicKey* pub_key = SECKEY_ExtractPublicKey(spki); in VerifySignature() 213 SECKEY_DestroySubjectPublicKeyInfo(spki); // Done with spki. in VerifySignature()
|
D | keygen_handler_win.cc | 68 std::vector<BYTE> spki; in GetSignedPublicKeyAndChallenge() local 70 if (!GetSubjectPublicKeyInfo(prov, &spki)) in GetSignedPublicKeyAndChallenge() 80 *reinterpret_cast<PCERT_PUBLIC_KEY_INFO>(&spki[0]); in GetSignedPublicKeyAndChallenge()
|
D | x509_certificate_nss.cc | 661 CERTSubjectPublicKeyInfo* spki = in CreateSelfSigned() local 663 if (!spki) in CreateSelfSigned() 670 CERT_CreateCertificateRequest(subject_name, spki, NULL); in CreateSelfSigned() 671 SECKEY_DestroySubjectPublicKeyInfo(spki); in CreateSelfSigned()
|
/external/chromium/crypto/ |
D | signature_verifier_nss.cc | 32 CERTSubjectPublicKeyInfo* spki = NULL; in VerifyInit() local 37 spki = SECKEY_DecodeDERSubjectPublicKeyInfo(&spki_der); in VerifyInit() 38 if (!spki) in VerifyInit() 40 SECKEYPublicKey* public_key = SECKEY_ExtractPublicKey(spki); in VerifyInit() 41 SECKEY_DestroySubjectPublicKeyInfo(spki); // Done with spki. in VerifyInit()
|
D | rsa_private_key_nss.cc | 94 CERTSubjectPublicKeyInfo *spki = in FindFromPublicKeyInfo() local 96 if (!spki) { in FindFromPublicKeyInfo() 101 result->public_key_ = SECKEY_ExtractPublicKey(spki); in FindFromPublicKeyInfo() 102 SECKEY_DestroySubjectPublicKeyInfo(spki); in FindFromPublicKeyInfo()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | SubjectKeyIdentifier.java | 77 SubjectPublicKeyInfo spki) in SubjectKeyIdentifier() argument 79 this.keyidentifier = getDigest(spki); in SubjectKeyIdentifier() 122 private static byte[] getDigest(SubjectPublicKeyInfo spki) in getDigest() argument 129 byte[] bytes = spki.getPublicKeyData().getBytes(); in getDigest()
|
D | AuthorityKeyIdentifier.java | 104 SubjectPublicKeyInfo spki) in AuthorityKeyIdentifier() argument 111 byte[] bytes = spki.getPublicKeyData().getBytes(); in AuthorityKeyIdentifier() 122 SubjectPublicKeyInfo spki, in AuthorityKeyIdentifier() argument 131 byte[] bytes = spki.getPublicKeyData().getBytes(); in AuthorityKeyIdentifier()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/ |
D | CertificationRequestInfoTest.java | 48 SubjectPublicKeyInfo spki = new SubjectPublicKeyInfo( in testCertificationRequestInfo() local 56 version, subject, spki, attributes); in testCertificationRequestInfo() 62 assertTrue(Arrays.equals(spki.getEncoded(), certReqInfo in testCertificationRequestInfo()
|
D | CertificationRequestTest.java | 48 SubjectPublicKeyInfo spki = new SubjectPublicKeyInfo( in testCertificationRequest() local 55 version, subject, spki, attributes); in testCertificationRequest()
|
/external/chromium/net/socket/ |
D | dns_cert_provenance_checker.cc | 212 CERTSubjectPublicKeyInfo* spki = SECKEY_DecodeDERSubjectPublicKeyInfo(&der); in GetServerPubKey() local 213 SECKEYPublicKey* public_key = SECKEY_ExtractPublicKey(spki); in GetServerPubKey() 214 SECKEY_DestroySubjectPublicKeyInfo(spki); in GetServerPubKey()
|
/external/openssl/include/openssl/ |
D | x509.h | 658 int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki);
|
/external/bouncycastle/patches/ |
D | bcprov.patch | 293 SubjectPublicKeyInfo spki) 301 byte[] bytes = spki.getPublicKeyData().getBytes(); 312 byte[] bytes = spki.getPublicKeyData().getBytes(); 418 private static byte[] getDigest(SubjectPublicKeyInfo spki) 426 byte[] bytes = spki.getPublicKeyData().getBytes();
|