Home
last modified time | relevance | path

Searched refs:spki (Results 1 – 19 of 19) sorted by relevance

/external/boringssl/src/crypto/x509/
Dx509spki.c85 NETSCAPE_SPKI *spki; in NETSCAPE_SPKI_b64_decode() local
103 spki = d2i_NETSCAPE_SPKI(NULL, &p, spki_len); in NETSCAPE_SPKI_b64_decode()
105 return spki; in NETSCAPE_SPKI_b64_decode()
110 char *NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *spki) in NETSCAPE_SPKI_b64_encode() argument
116 der_len = i2d_NETSCAPE_SPKI(spki, NULL); in NETSCAPE_SPKI_b64_encode()
133 i2d_NETSCAPE_SPKI(spki, &p); in NETSCAPE_SPKI_b64_encode()
Dx_pubkey.c93 uint8_t *spki = NULL; variable
102 !CBB_finish(&cbb, &spki, &spki_len) ||
109 const uint8_t *p = spki;
111 if (pk == NULL || p != spki + spki_len) {
116 OPENSSL_free(spki);
123 OPENSSL_free(spki);
136 uint8_t *spki = NULL; in X509_PUBKEY_get() local
150 int spki_len = i2d_X509_PUBKEY(key, &spki); in X509_PUBKEY_get()
155 CBS_init(&cbs, spki, (size_t)spki_len); in X509_PUBKEY_get()
173 OPENSSL_free(spki); in X509_PUBKEY_get()
[all …]
/external/libchrome/crypto/
Dnss_key_util.cc24 inline void operator()(CERTSubjectPublicKeyInfo* spki) { in operator ()()
25 SECKEY_DestroySubjectPublicKeyInfo(spki); in operator ()()
41 ScopedPublicKeyInfo spki(SECKEY_DecodeDERSubjectPublicKeyInfo(&key_der)); in MakeIDFromSPKI() local
42 if (!spki) in MakeIDFromSPKI()
45 ScopedSECKEYPublicKey result(SECKEY_ExtractPublicKey(spki.get())); in MakeIDFromSPKI()
/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c71 CBB spki, algorithm, oid, null, key_bitstring; in rsa_pub_encode() local
72 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in rsa_pub_encode()
73 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in rsa_pub_encode()
77 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in rsa_pub_encode()
Dp_ed25519_asn1.c76 CBB spki, algorithm, oid, key_bitstring; in ed25519_pub_encode() local
77 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in ed25519_pub_encode()
78 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in ed25519_pub_encode()
81 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in ed25519_pub_encode()
Dp_ec_asn1.c74 CBB spki, algorithm, oid, key_bitstring; in eckey_pub_encode() local
75 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in eckey_pub_encode()
76 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in eckey_pub_encode()
80 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in eckey_pub_encode()
Devp_asn1.c98 CBS spki, algorithm, key; in EVP_parse_public_key() local
101 if (!CBS_get_asn1(cbs, &spki, CBS_ASN1_SEQUENCE) || in EVP_parse_public_key()
102 !CBS_get_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_public_key()
103 !CBS_get_asn1(&spki, &key, CBS_ASN1_BITSTRING) || in EVP_parse_public_key()
104 CBS_len(&spki) != 0) { in EVP_parse_public_key()
Dp_dsa_asn1.c109 CBB spki, algorithm, oid, key_bitstring; in dsa_pub_encode() local
110 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in dsa_pub_encode()
111 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in dsa_pub_encode()
116 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in dsa_pub_encode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DAuthorityKeyIdentifier.java110 SubjectPublicKeyInfo spki) in AuthorityKeyIdentifier() argument
117 byte[] bytes = spki.getPublicKeyData().getBytes(); in AuthorityKeyIdentifier()
129 SubjectPublicKeyInfo spki, in AuthorityKeyIdentifier() argument
138 byte[] bytes = spki.getPublicKeyData().getBytes(); in AuthorityKeyIdentifier()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DAuthorityKeyIdentifier.java112 SubjectPublicKeyInfo spki) in AuthorityKeyIdentifier() argument
119 byte[] bytes = spki.getPublicKeyData().getBytes(); in AuthorityKeyIdentifier()
131 SubjectPublicKeyInfo spki, in AuthorityKeyIdentifier() argument
140 byte[] bytes = spki.getPublicKeyData().getBytes(); in AuthorityKeyIdentifier()
/external/scapy/test/
Dx509.uts102 spki = tbs.subjectPublicKeyInfo
103 spki.signatureAlgorithm.algorithm == ASN1_OID("rsaEncryption")
106 assert(type(spki.subjectPublicKey) is RSAPublicKey)
107 spki.subjectPublicKey.modulus == ASN1_INTEGER(19231328316532061413420367242571475005688288081144416…
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java700 SubjectPublicKeyInfo spki = SubjectPublicKeyInfo.getInstance(pubKey.getEncoded()); in generatePublicKeyDigest() local
707 return sha1digest.digest(spki.getPublicKeyData().getBytes()); in generatePublicKeyDigest()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java707 SubjectPublicKeyInfo spki = SubjectPublicKeyInfo.getInstance(pubKey.getEncoded()); in generatePublicKeyDigest() local
714 return sha1digest.digest(spki.getPublicKeyData().getBytes()); in generatePublicKeyDigest()
/external/boringssl/src/
DFUZZING.md36 | `spki` | 1024 |
/external/scapy/scapy/layers/tls/
Dcert.py208 spki = X509_SubjectPublicKeyInfo(obj.der)
209 pubkey = spki.subjectPublicKey
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java236 private static byte[] getDigest(SubjectPublicKeyInfo spki) in getDigest() argument
243 byte[] bytes = spki.getPublicKeyData().getBytes(); in getDigest()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java240 private static byte[] getDigest(SubjectPublicKeyInfo spki) in getDigest() argument
247 byte[] bytes = spki.getPublicKeyData().getBytes(); in getDigest()
/external/ImageMagick/PerlMagick/t/
Dinput_gray_msb_08bit.mat8 …�{lenht�v�f`gaWRORXc``fjiieeeimegli_WI5(����~�����������������������������spki�|��uykia\XXXZ^^ckkk…
/external/boringssl/src/include/openssl/
Dx509.h577 OPENSSL_EXPORT int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki);