Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/
DNetscapeCertRequest.java98 ASN1Sequence pkac = (ASN1Sequence)spkac.getObjectAt(0); in NetscapeCertRequest() local
100 if (pkac.size() != 2) in NetscapeCertRequest()
103 + pkac.size()); in NetscapeCertRequest()
106 challenge = ((DERIA5String)pkac.getObjectAt(1)).getString(); in NetscapeCertRequest()
110 content = new DERBitString(pkac); in NetscapeCertRequest()
112 SubjectPublicKeyInfo pubkeyinfo = SubjectPublicKeyInfo.getInstance(pkac.getObjectAt(0)); in NetscapeCertRequest()
238 ASN1EncodableVector pkac = new ASN1EncodableVector(); in sign() local
240 pkac.add(getKeySpec()); in sign()
241 pkac.add(new DERIA5String(challenge)); in sign()
245 sig.update(new DERSequence(pkac).getEncoded(ASN1Encoding.DER)); in sign()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/netscape/
DNetscapeCertRequest.java100 ASN1Sequence pkac = (ASN1Sequence)spkac.getObjectAt(0); in NetscapeCertRequest() local
102 if (pkac.size() != 2) in NetscapeCertRequest()
105 + pkac.size()); in NetscapeCertRequest()
108 challenge = ((DERIA5String)pkac.getObjectAt(1)).getString(); in NetscapeCertRequest()
112 content = new DERBitString(pkac); in NetscapeCertRequest()
114 SubjectPublicKeyInfo pubkeyinfo = SubjectPublicKeyInfo.getInstance(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 …]