/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
DSAPublicKeyImpl.java | 70 SubjectPublicKeyInfo spki; local 85 spki = new SubjectPublicKeyInfo(ai, ASN1Integer.getInstance().encode( 87 setEncoding(spki.getEncoded());
|
/external/chromium/crypto/ |
signature_verifier_nss.cc | 32 CERTSubjectPublicKeyInfo* spki = NULL; local 37 spki = SECKEY_DecodeDERSubjectPublicKeyInfo(&spki_der); 38 if (!spki) 40 SECKEYPublicKey* public_key = SECKEY_ExtractPublicKey(spki); 41 SECKEY_DestroySubjectPublicKeyInfo(spki); // Done with spki.
|
rsa_private_key_nss.cc | 94 CERTSubjectPublicKeyInfo *spki = local 96 if (!spki) { 101 result->public_key_ = SECKEY_ExtractPublicKey(spki); 102 SECKEY_DestroySubjectPublicKeyInfo(spki);
|
/external/openssl/crypto/x509/ |
x509spki.c | 76 /* Load a Netscape SPKI from a base64 encoded string */ 83 NETSCAPE_SPKI *spki; local 97 spki = d2i_NETSCAPE_SPKI(NULL, &p, spki_len); 99 return spki; 102 /* Generate a base64 encoded string from an SPKI */ 104 char * NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *spki) 109 der_len = i2d_NETSCAPE_SPKI(spki, NULL); 117 i2d_NETSCAPE_SPKI(spki, &p);
|
/external/chromium/net/base/ |
keygen_handler_mac.cc | 29 CSSM_X509_SUBJECT_PUBLIC_KEY_INFO spki; member in struct:net::PublicKeyAndChallenge 48 offsetof(PublicKeyAndChallenge, spki), 153 spkac.pkac.spki.algorithm.algorithm = CSSMOID_RSA; 154 spkac.pkac.spki.subjectPublicKey.Length = 156 spkac.pkac.spki.subjectPublicKey.Data =
|
keygen_handler_win.cc | 68 std::vector<BYTE> spki; local 70 if (!GetSubjectPublicKeyInfo(prov, &spki)) 74 // spki SubjectPublicKeyInfo, 80 *reinterpret_cast<PCERT_PUBLIC_KEY_INFO>(&spki[0]);
|
dnssec_keyset.cc | 204 CERTSubjectPublicKeyInfo* spki = NULL; local 209 spki = SECKEY_DecodeDERSubjectPublicKeyInfo(&spki_der); 210 if (!spki) 212 SECKEYPublicKey* pub_key = SECKEY_ExtractPublicKey(spki); 213 SECKEY_DestroySubjectPublicKeyInfo(spki); // Done with spki.
|
x509_certificate_nss.cc | 661 CERTSubjectPublicKeyInfo* spki = local 663 if (!spki) 670 CERT_CreateCertificateRequest(subject_name, spki, NULL); 671 SECKEY_DestroySubjectPublicKeyInfo(spki); [all...] |
/external/openssl/apps/ |
spkac.c | 94 NETSCAPE_SPKI *spki = NULL; local 202 spki = NETSCAPE_SPKI_new(); 203 if(challenge) ASN1_STRING_set(spki->spkac->challenge, 205 NETSCAPE_SPKI_set_pubkey(spki, pkey); 206 NETSCAPE_SPKI_sign(spki, pkey, EVP_md5()); 207 spkstr = NETSCAPE_SPKI_b64_encode(spki); 259 spki = NETSCAPE_SPKI_b64_decode(spkstr, -1); 261 if(!spki) { 284 if(!noout) NETSCAPE_SPKI_print(out, spki); 285 pkey = NETSCAPE_SPKI_get_pubkey(spki); [all...] |
ca.c | 2252 NETSCAPE_SPKI *spki = NULL; local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/ |
CertificationRequestInfoTest.java | 48 SubjectPublicKeyInfo spki = new SubjectPublicKeyInfo( local 56 version, subject, spki, attributes); 62 assertTrue(Arrays.equals(spki.getEncoded(), certReqInfo
|
CertificationRequestTest.java | 48 SubjectPublicKeyInfo spki = new SubjectPublicKeyInfo( local 55 version, subject, spki, attributes);
|
/external/chromium/net/socket/ |
dns_cert_provenance_checker.cc | 212 CERTSubjectPublicKeyInfo* spki = SECKEY_DecodeDERSubjectPublicKeyInfo(&der); local 213 SECKEYPublicKey* public_key = SECKEY_ExtractPublicKey(spki); 214 SECKEY_DestroySubjectPublicKeyInfo(spki);
|