/external/chromium/net/base/ |
D | keygen_handler_mac.cc | 151 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 …]
|
D | keygen_handler_unittest.cc | 46 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()
|
D | keygen_handler_win.cc | 205 std::string spkac; in GenKeyAndSignChallenge() local 207 &spkac)) { in GenKeyAndSignChallenge() 214 if (!base::Base64Encode(spkac, &result)) { in GenKeyAndSignChallenge()
|
D | keygen_handler_openssl.cc | 27 ASN1_STRING_set(spki.get()->spkac->challenge, in GenKeyAndSignChallenge()
|
/external/chromium_org/net/base/ |
D | keygen_handler_mac.cc | 152 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 …]
|
D | keygen_handler_unittest.cc | 47 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()
|
D | keygen_handler_win.cc | 205 std::string spkac; in GenKeyAndSignChallenge() local 207 &spkac)) { in GenKeyAndSignChallenge() 214 base::Base64Encode(spkac, &result); in GenKeyAndSignChallenge()
|
D | keygen_handler_openssl.cc | 27 ASN1_STRING_set(spki.get()->spkac->challenge, in GenKeyAndSignChallenge()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/ |
D | NetscapeCertRequest.java | 71 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/ |
D | x509spki.c | 65 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()
|
D | x_all.c | 88 a->sig_algor,a->signature,a->spkac,r)); in NETSCAPE_SPKI_verify() 133 x->signature, x->spkac,pkey,md)); in NETSCAPE_SPKI_sign()
|
D | x509.h | 539 NETSCAPE_SPKAC *spkac; /* signed public key and challenge */ member
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509/ |
D | x509spki.c | 65 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()
|
D | x_all.c | 88 a->sig_algor,a->signature,a->spkac,r)); in NETSCAPE_SPKI_verify() 133 x->signature, x->spkac,pkey,md)); in NETSCAPE_SPKI_sign()
|
D | x509.h | 539 NETSCAPE_SPKAC *spkac; /* signed public key and challenge */ member
|
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
D | t_spki.c | 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()
|
D | x_spki.c | 76 ASN1_SIMPLE(NETSCAPE_SPKI, spkac, NETSCAPE_SPKAC),
|
/external/openssl/crypto/asn1/ |
D | t_spki.c | 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()
|
D | x_spki.c | 76 ASN1_SIMPLE(NETSCAPE_SPKI, spkac, NETSCAPE_SPKAC),
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
D | spkac.c | 90 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/ |
D | spkac.c | 90 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/ |
D | Apps-config.mk | 77 apps/spkac.c \
|
/external/openssl/ |
D | Apps-config.mk | 77 apps/spkac.c \
|
/external/openssl/include/openssl/ |
D | x509.h | 539 NETSCAPE_SPKAC *spkac; /* signed public key and challenge */ member
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | x509.h | 539 NETSCAPE_SPKAC *spkac; /* signed public key and challenge */ member
|