Home
last modified time | relevance | path

Searched refs:spkac (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium/net/base/
Dkeygen_handler_mac.cc151 SignedPublicKeyAndChallenge spkac; in GenKeyAndSignChallenge() local
152 memset(&spkac, 0, sizeof(spkac)); in GenKeyAndSignChallenge()
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()
158 spkac.pkac.challenge_string.Length = challenge_.length(); in GenKeyAndSignChallenge()
159 spkac.pkac.challenge_string.Data = in GenKeyAndSignChallenge()
163 err = SecAsn1EncodeItem(coder, &spkac.pkac, in GenKeyAndSignChallenge()
174 spkac.signature.Data = signature.Data; in GenKeyAndSignChallenge()
175 spkac.signature.Length = signature.Length * 8; // a _bit_ count in GenKeyAndSignChallenge()
[all …]
Dkeygen_handler_unittest.cc46 std::string spkac; in AssertValidSignedPublicKeyAndChallenge() local
47 ASSERT_TRUE(base::Base64Decode(result, &spkac)); in AssertValidSignedPublicKeyAndChallenge()
52 ASSERT_GE(spkac.length(), 200U); in AssertValidSignedPublicKeyAndChallenge()
53 ASSERT_LE(spkac.length(), 300U); in AssertValidSignedPublicKeyAndChallenge()
Dkeygen_handler_win.cc205 std::string spkac; in GenKeyAndSignChallenge() local
207 &spkac)) { in GenKeyAndSignChallenge()
214 if (!base::Base64Encode(spkac, &result)) { in GenKeyAndSignChallenge()
Dkeygen_handler_openssl.cc27 ASN1_STRING_set(spki.get()->spkac->challenge, in GenKeyAndSignChallenge()
/external/chromium_org/net/base/
Dkeygen_handler_mac.cc152 SignedPublicKeyAndChallenge spkac; in GenKeyAndSignChallenge() local
153 memset(&spkac, 0, sizeof(spkac)); in GenKeyAndSignChallenge()
154 spkac.pkac.spki.algorithm.algorithm = CSSMOID_RSA; in GenKeyAndSignChallenge()
155 spkac.pkac.spki.subjectPublicKey.Length = in GenKeyAndSignChallenge()
157 spkac.pkac.spki.subjectPublicKey.Data = in GenKeyAndSignChallenge()
159 spkac.pkac.challenge_string.Length = challenge_.length(); in GenKeyAndSignChallenge()
160 spkac.pkac.challenge_string.Data = in GenKeyAndSignChallenge()
164 err = SecAsn1EncodeItem(coder, &spkac.pkac, in GenKeyAndSignChallenge()
175 spkac.signature.Data = signature.Data; in GenKeyAndSignChallenge()
176 spkac.signature.Length = signature.Length * 8; // a _bit_ count in GenKeyAndSignChallenge()
[all …]
Dkeygen_handler_unittest.cc47 std::string spkac; in AssertValidSignedPublicKeyAndChallenge() local
48 ASSERT_TRUE(base::Base64Decode(result, &spkac)); in AssertValidSignedPublicKeyAndChallenge()
53 ASSERT_GE(spkac.length(), 200U); in AssertValidSignedPublicKeyAndChallenge()
54 ASSERT_LE(spkac.length(), 300U); in AssertValidSignedPublicKeyAndChallenge()
Dkeygen_handler_win.cc205 std::string spkac; in GenKeyAndSignChallenge() local
207 &spkac)) { in GenKeyAndSignChallenge()
214 base::Base64Encode(spkac, &result); in GenKeyAndSignChallenge()
Dkeygen_handler_openssl.cc27 ASN1_STRING_set(spki.get()->spkac->challenge, in GenKeyAndSignChallenge()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/
DNetscapeCertRequest.java71 public NetscapeCertRequest (ASN1Sequence spkac) in NetscapeCertRequest() argument
83 if (spkac.size() != 3) in NetscapeCertRequest()
86 + spkac.size()); in NetscapeCertRequest()
89 sigAlg = new AlgorithmIdentifier((ASN1Sequence)spkac in NetscapeCertRequest()
91 sigBits = ((DERBitString)spkac.getObjectAt(2)).getBytes(); in NetscapeCertRequest()
99 ASN1Sequence pkac = (ASN1Sequence)spkac.getObjectAt(0); in NetscapeCertRequest()
283 ASN1EncodableVector spkac = new ASN1EncodableVector(); in toASN1Primitive() local
297 spkac.add(new DERSequence(pkac)); in toASN1Primitive()
298 spkac.add(sigAlg); in toASN1Primitive()
299 spkac.add(new DERBitString(sigBits)); in toASN1Primitive()
[all …]
/external/openssl/crypto/x509/
Dx509spki.c65 if ((x == NULL) || (x->spkac == NULL)) return(0); in NETSCAPE_SPKI_set_pubkey()
66 return(X509_PUBKEY_set(&(x->spkac->pubkey),pkey)); in NETSCAPE_SPKI_set_pubkey()
71 if ((x == NULL) || (x->spkac == NULL)) in NETSCAPE_SPKI_get_pubkey()
73 return(X509_PUBKEY_get(x->spkac->pubkey)); in NETSCAPE_SPKI_get_pubkey()
Dx_all.c88 a->sig_algor,a->signature,a->spkac,r)); in NETSCAPE_SPKI_verify()
133 x->signature, x->spkac,pkey,md)); in NETSCAPE_SPKI_sign()
Dx509.h539 NETSCAPE_SPKAC *spkac; /* signed public key and challenge */ member
/external/chromium_org/third_party/openssl/openssl/crypto/x509/
Dx509spki.c65 if ((x == NULL) || (x->spkac == NULL)) return(0); in NETSCAPE_SPKI_set_pubkey()
66 return(X509_PUBKEY_set(&(x->spkac->pubkey),pkey)); in NETSCAPE_SPKI_set_pubkey()
71 if ((x == NULL) || (x->spkac == NULL)) in NETSCAPE_SPKI_get_pubkey()
73 return(X509_PUBKEY_get(x->spkac->pubkey)); in NETSCAPE_SPKI_get_pubkey()
Dx_all.c88 a->sig_algor,a->signature,a->spkac,r)); in NETSCAPE_SPKI_verify()
133 x->signature, x->spkac,pkey,md)); in NETSCAPE_SPKI_sign()
Dx509.h539 NETSCAPE_SPKAC *spkac; /* signed public key and challenge */ member
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
Dt_spki.c80 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()
Dx_spki.c76 ASN1_SIMPLE(NETSCAPE_SPKI, spkac, NETSCAPE_SPKAC),
/external/openssl/crypto/asn1/
Dt_spki.c80 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()
Dx_spki.c76 ASN1_SIMPLE(NETSCAPE_SPKI, spkac, NETSCAPE_SPKAC),
/external/chromium_org/third_party/openssl/openssl/apps/
Dspkac.c90 const char *spkac = "SPKAC", *spksect = "default"; in MAIN() local
140 spkac= *(++argv); in MAIN()
203 if(challenge) ASN1_STRING_set(spki->spkac->challenge, in MAIN()
251 spkstr = NCONF_get_string(conf, spksect, spkac); in MAIN()
254 BIO_printf(bio_err, "Can't find SPKAC called \"%s\"\n", spkac); in MAIN()
/external/openssl/apps/
Dspkac.c90 const char *spkac = "SPKAC", *spksect = "default"; in MAIN() local
140 spkac= *(++argv); in MAIN()
203 if(challenge) ASN1_STRING_set(spki->spkac->challenge, in MAIN()
251 spkstr = NCONF_get_string(conf, spksect, spkac); in MAIN()
254 BIO_printf(bio_err, "Can't find SPKAC called \"%s\"\n", spkac); in MAIN()
/external/chromium_org/third_party/openssl/openssl/
DApps-config.mk77 apps/spkac.c \
/external/openssl/
DApps-config.mk77 apps/spkac.c \
/external/openssl/include/openssl/
Dx509.h539 NETSCAPE_SPKAC *spkac; /* signed public key and challenge */ member
/external/chromium_org/third_party/openssl/openssl/include/openssl/
Dx509.h539 NETSCAPE_SPKAC *spkac; /* signed public key and challenge */ member

12