Home
last modified time | relevance | path

Searched refs:pkac (Results 1 – 4 of 4) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/
DNetscapeCertRequest.java99 ASN1Sequence pkac = (ASN1Sequence)spkac.getObjectAt(0); in NetscapeCertRequest() local
101 if (pkac.size() != 2) in NetscapeCertRequest()
104 + pkac.size()); in NetscapeCertRequest()
107 challenge = ((DERIA5String)pkac.getObjectAt(1)).getString(); in NetscapeCertRequest()
111 content = new DERBitString(pkac); in NetscapeCertRequest()
114 (ASN1Sequence)pkac.getObjectAt(0)); in NetscapeCertRequest()
240 ASN1EncodableVector pkac = new ASN1EncodableVector(); in sign() local
242 pkac.add(getKeySpec()); in sign()
243 pkac.add(new DERIA5String(challenge)); in sign()
247 sig.update(new DERSequence(pkac).getEncoded(ASN1Encoding.DER)); in sign()
[all …]
/external/chromium_org/net/third_party/mozilla_security_manager/
DnsKeygenHandler.cpp115 CERTPublicKeyAndChallenge pkac; in GenKeyAndSignChallenge() local
196 pkac.spki = spkiItem; in GenKeyAndSignChallenge()
197 pkac.challenge.type = siBuffer; in GenKeyAndSignChallenge()
198 pkac.challenge.len = challenge.length(); in GenKeyAndSignChallenge()
199 pkac.challenge.data = (unsigned char *)challenge.data(); in GenKeyAndSignChallenge()
201 &pkac); in GenKeyAndSignChallenge()
/external/chromium_org/net/base/
Dkeygen_handler_mac.cc63 PublicKeyAndChallenge pkac; member
77 offsetof(SignedPublicKeyAndChallenge, pkac),
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()
Dkeygen_handler_win.cc78 CERT_KEYGEN_REQUEST_INFO pkac; in GetSignedPublicKeyAndChallenge() local
79 pkac.dwVersion = CERT_KEYGEN_REQUEST_V1; in GetSignedPublicKeyAndChallenge()
80 pkac.SubjectPublicKeyInfo = in GetSignedPublicKeyAndChallenge()
82 pkac.pwszChallengeString = const_cast<wchar_t*>(wide_challenge.c_str()); in GetSignedPublicKeyAndChallenge()
93 &pkac, &sig_alg, NULL, in GetSignedPublicKeyAndChallenge()
102 &pkac, &sig_alg, NULL, in GetSignedPublicKeyAndChallenge()