Home
last modified time | relevance | path

Searched refs:pkac (Results 1 – 3 of 3) 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()
233 ASN1EncodableVector pkac = new ASN1EncodableVector(); in sign() local
235 pkac.add(getKeySpec()); in sign()
236 pkac.add(new DERIA5String(challenge)); in sign()
240 sig.update(new DERSequence(pkac).getEncoded(ASN1Encoding.DER)); in sign()
[all …]
/external/chromium/net/base/
Dkeygen_handler_mac.cc62 PublicKeyAndChallenge pkac; member
76 offsetof(SignedPublicKeyAndChallenge, pkac),
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()
Dkeygen_handler_win.cc77 CERT_KEYGEN_REQUEST_INFO pkac; in GetSignedPublicKeyAndChallenge() local
78 pkac.dwVersion = CERT_KEYGEN_REQUEST_V1; in GetSignedPublicKeyAndChallenge()
79 pkac.SubjectPublicKeyInfo = in GetSignedPublicKeyAndChallenge()
81 pkac.pwszChallengeString = const_cast<wchar_t*>(wide_challenge.c_str()); in GetSignedPublicKeyAndChallenge()
92 &pkac, &sig_alg, NULL, in GetSignedPublicKeyAndChallenge()
101 &pkac, &sig_alg, NULL, in GetSignedPublicKeyAndChallenge()