Home
last modified time | relevance | path

Searched refs:ASN1InputStream (Results 1 – 25 of 30) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DSubjectPublicKeyInfo.java8 import org.bouncycastle.asn1.ASN1InputStream;
106 ASN1InputStream aIn = new ASN1InputStream(keyData.getBytes()); in parsePublicKey()
123 ASN1InputStream aIn = new ASN1InputStream(keyData.getBytes()); in getPublicKey()
DX509NameEntryConverter.java5 import org.bouncycastle.asn1.ASN1InputStream;
89 ASN1InputStream aIn = new ASN1InputStream(data); in convertHexEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1InputStream.java17 public class ASN1InputStream class
26 public ASN1InputStream( in ASN1InputStream() method in ASN1InputStream
38 public ASN1InputStream( in ASN1InputStream() method in ASN1InputStream
51 public ASN1InputStream( in ASN1InputStream() method in ASN1InputStream
64 public ASN1InputStream( in ASN1InputStream() method in ASN1InputStream
78 public ASN1InputStream( in ASN1InputStream() method in ASN1InputStream
93 public ASN1InputStream( in ASN1InputStream() method in ASN1InputStream
204 return new ASN1InputStream(dIn).buildEncodableVector(); in buildDEREncodableVector()
DLazyConstructionEnumeration.java9 private ASN1InputStream aIn;
14 aIn = new ASN1InputStream(encoded, true); in LazyConstructionEnumeration()
DASN1Primitive.java23 ASN1InputStream aIn = new ASN1InputStream(data); in fromByteArray()
DStreamUtil.java24 else if (in instanceof ASN1InputStream) in findLimit()
26 return ((ASN1InputStream)in).getLimit(); in findLimit()
DASN1StreamParser.java136 int tagNo = ASN1InputStream.readTagNumber(_in, tag); in readObject()
143 int length = ASN1InputStream.readLength(_in, _limit); in readObject()
211 return ASN1InputStream.createPrimitiveDERObject(tagNo, defIn, tmpBuffers); in readObject()
DDERApplicationSpecific.java168 return new ASN1InputStream(getContents()).readObject(); in getObject()
194 return new ASN1InputStream(tmp).readObject(); in getObject()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java9 import org.bouncycastle.asn1.ASN1InputStream;
74 … (ASN1Sequence)new ASN1InputStream(certificate.getPublicKey().getEncoded()).readObject()); in fromCertificate()
95 … (ASN1Sequence)new ASN1InputStream(certificate.getPublicKey().getEncoded()).readObject()); in fromCertificate()
115 … (ASN1Sequence)new ASN1InputStream(pubKey.getEncoded()).readObject()); in fromKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DX509Principal.java9 import org.bouncycastle.asn1.ASN1InputStream;
28 ASN1InputStream aIn) in readSequence()
48 super(readSequence(new ASN1InputStream(bytes))); in X509Principal()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/
DNetscapeCertRequest.java20 import org.bouncycastle.asn1.ASN1InputStream;
59 ASN1InputStream aIn = new ASN1InputStream(new ByteArrayInputStream(r)); in getReq()
262 ASN1InputStream derin = new ASN1InputStream( in getKeySpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DPKCS12BagAttributeCarrierImpl.java12 import org.bouncycastle.asn1.ASN1InputStream;
115 ASN1InputStream aIn = new ASN1InputStream((byte[])obj); in readObject()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DCertificateFactory.java18 import org.bouncycastle.asn1.ASN1InputStream;
52 ASN1InputStream dIn) in readDERCertificate()
130 ASN1InputStream aIn) in readDERCRL()
217 return readDERCertificate(new ASN1InputStream(pis)); in engineGenerateCertificate()
298 return readDERCRL(new ASN1InputStream(pis, true)); in engineGenerateCRL()
DPKIXCertPath.java28 import org.bouncycastle.asn1.ASN1InputStream;
177 ASN1InputStream derInStream = new ASN1InputStream(inStream); in PKIXCertPath()
356 return new ASN1InputStream(cert.getEncoded()).readObject(); in toASN1Object()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPEMUtil.java6 import org.bouncycastle.asn1.ASN1InputStream;
83 ASN1Primitive o = new ASN1InputStream(Base64.decode(pemBuf.toString())).readObject(); in readPEMObject()
DX509CRLEntryObject.java15 import org.bouncycastle.asn1.ASN1InputStream;
262 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
DX509CertificateObject.java34 import org.bouncycastle.asn1.ASN1InputStream;
350 ASN1InputStream dIn = new ASN1InputStream(bytes); in getExtendedKeyUsage()
691 ASN1InputStream dIn = new ASN1InputStream(octs); in toString()
DJDKPKCS12KeyStore.java42 import org.bouncycastle.asn1.ASN1InputStream;
368 ASN1InputStream aIn = new ASN1InputStream(bytes); in engineGetCertificateChain()
371 aIn = new ASN1InputStream(authBytes); in engineGetCertificateChain()
697 ASN1InputStream bIn = new ASN1InputStream(bufIn); in engineLoad()
753 bIn = new ASN1InputStream(((ASN1OctetString)info.getContent()).getOctets()); in engineLoad()
762ASN1InputStream dIn = new ASN1InputStream(((ASN1OctetString)c[i].getContent()).getOctets()); in engineLoad()
DCertPathValidatorUtilities.java41 import org.bouncycastle.asn1.ASN1InputStream;
336 ASN1InputStream aIn = new ASN1InputStream(ext); in getObject()
339 aIn = new ASN1InputStream(octs.getOctets()); in getObject()
359 ASN1InputStream aIn = new ASN1InputStream(key.getEncoded()); in getAlgorithmIdentifier()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSUtils.java22 import org.bouncycastle.asn1.ASN1InputStream;
50 return readContentInfo(new ASN1InputStream(input)); in readContentInfo()
58 return readContentInfo(new ASN1InputStream(input)); in readContentInfo()
247 ASN1InputStream in) in readContentInfo()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DX509CRLHolder.java14 import org.bouncycastle.asn1.ASN1InputStream;
43 return CertificateList.getInstance(new ASN1InputStream(stream, true).readObject()); in parseStream()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPrivateKeyFactory.java8 import org.bouncycastle.asn1.ASN1InputStream;
73 return createKey(PrivateKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey()
DPublicKeyFactory.java8 import org.bouncycastle.asn1.ASN1InputStream;
80 return createKey(SubjectPublicKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509V1CertificateGenerator.java23 import org.bouncycastle.asn1.ASN1InputStream;
146 … tbsGen.setSubjectPublicKeyInfo(new SubjectPublicKeyInfo((ASN1Sequence)new ASN1InputStream( in setPublicKey()
DX509V2AttributeCertificate.java26 import org.bouncycastle.asn1.ASN1InputStream;
51 return AttributeCertificate.getInstance(new ASN1InputStream(in).readObject()); in getObject()

12