Home
last modified time | relevance | path

Searched refs:DerInputStream (Results 1 – 25 of 71) sorted by relevance

123

/libcore/ojluni/src/main/java/sun/security/pkcs/
DContentInfo.java105 public ContentInfo(DerInputStream derin) in ContentInfo()
121 public ContentInfo(DerInputStream derin, boolean oldStyle) in ContentInfo()
124 DerInputStream disType; in ContentInfo()
125 DerInputStream disTaggedContent; in ContentInfo()
135 disType = new DerInputStream(type.toByteArray()); in ContentInfo()
149 = new DerInputStream(taggedContent.toByteArray()); in ContentInfo()
208 DerInputStream dis = new DerInputStream(content.toByteArray()); in getContentBytes()
DPKCS9Attributes.java33 import sun.security.util.DerInputStream;
85 DerInputStream in) throws IOException { in PKCS9Attributes()
114 public PKCS9Attributes(DerInputStream in) throws IOException { in PKCS9Attributes()
134 public PKCS9Attributes(DerInputStream in, in PKCS9Attributes()
185 private byte[] decode(DerInputStream in) throws IOException { in decode()
193 DerInputStream derIn = new DerInputStream(derEncoding); in decode()
DPKCS7.java125 parse(new DerInputStream(data)); in PKCS7()
135 public PKCS7(DerInputStream derin) throws ParsingException { in PKCS7()
149 DerInputStream derin = new DerInputStream(bytes); in PKCS7()
162 private void parse(DerInputStream derin) in parse()
192 private void parse(DerInputStream derin, boolean oldStyle) in parse()
245 DerInputStream dis = new DerInputStream(val.toByteArray()); in parseNetscapeCertChain()
291 DerInputStream dis = val.toDerInputStream(); in parseSignedData()
413 DerInputStream in = signerInfoVals[i].toDerInputStream(); in parseSignedData()
425 DerInputStream dis = val.toDerInputStream(); in parseOldSignedData()
497 DerInputStream in = signerInfoVals[i].toDerInputStream(); in parseOldSignedData()
DPKCS9Attribute.java38 import sun.security.util.DerInputStream;
484 DerInputStream derIn = new DerInputStream(derVal.toByteArray()); in PKCS9Attribute()
496 DerValue[] elems = new DerInputStream(content).getSet(1); in PKCS9Attribute()
542 value = (new DerInputStream(elems[0].toByteArray())).getUTCTime(); in PKCS9Attribute()
578 new DerInputStream(elems[0].toByteArray())); in PKCS9Attribute()
/libcore/ojluni/src/main/java/sun/security/util/
DDerValue.java71 public final DerInputStream data;
247 this.data = new DerInputStream(buffer); in DerValue()
263 length = DerInputStream.getLength(lenByte, in); in DerValue()
279 length = DerInputStream.getLength(inbuf); in DerValue()
282 data = new DerInputStream(buffer); in DerValue()
291 data = new DerInputStream(buffer); in DerValue()
340 private DerInputStream init(byte stringTag, String value) throws IOException { in init()
369 DerInputStream result = new DerInputStream(buffer); in init()
377 private DerInputStream init(boolean fullyBuffered, InputStream in) in init()
382 length = DerInputStream.getLength(lenByte, in); in init()
[all …]
DDerInputStream.java59 public class DerInputStream { class
79 public DerInputStream(byte[] data) throws IOException { in DerInputStream() method in DerInputStream
94 public DerInputStream(byte[] data, int offset, int len) throws IOException { in DerInputStream() method in DerInputStream
113 public DerInputStream(byte[] data, int offset, int len, in DerInputStream() method in DerInputStream
142 DerInputStream(DerInputBuffer buf) { in DerInputStream() method in DerInputStream
157 public DerInputStream subStream(int len, boolean do_skip) in subStream()
165 return new DerInputStream(newbuf); in subStream()
424 DerInputStream newstr; in readVector()
444 len = DerInputStream.getLength(buffer); in readVector()
/libcore/ojluni/src/test/java/security/cert/
DX509CertSelectorTest.java54 import sun.security.util.DerInputStream;
243 DerInputStream in = new DerInputStream(cert.getExtensionValue("2.5.29.14")); in testSubjectKeyIdentifier()
264 DerInputStream in = new DerInputStream(cert.getExtensionValue("2.5.29.35")); in testAuthorityKeyIdentifier()
304 DerInputStream in = new DerInputStream(cert.getExtensionValue("2.5.29.16")); in testPrivateKeyValid()
374 DerInputStream in = new DerInputStream(cert.getExtensionValue("2.5.29.17")); in testSubjectAltName()
408 DerInputStream in = new DerInputStream(cert.getExtensionValue("2.5.29.32")); in testPolicy()
428 DerInputStream in = new DerInputStream(cert.getExtensionValue("2.5.29.30")); in testPathToName()
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DPKCS9Attributes.java34 sun.security.util.DerInputStream in) in PKCS9Attributes()
40 public PKCS9Attributes(sun.security.util.DerInputStream in) throws java.io.IOException { in PKCS9Attributes()
45 public PKCS9Attributes(sun.security.util.DerInputStream in, boolean ignoreUnsupportedAttributes) in PKCS9Attributes()
56 private byte[] decode(sun.security.util.DerInputStream in) throws java.io.IOException { in decode()
DContentInfo.java45 public ContentInfo(sun.security.util.DerInputStream derin) in ContentInfo()
50 public ContentInfo(sun.security.util.DerInputStream derin, boolean oldStyle) in ContentInfo()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DDerInputStream.java30 public class DerInputStream { class
33 public DerInputStream(byte[] data) throws java.io.IOException { in DerInputStream() method in DerInputStream
37 public DerInputStream(byte[] data, int offset, int len) throws java.io.IOException { in DerInputStream() method in DerInputStream
41 public DerInputStream(byte[] data, int offset, int len, boolean allowIndefiniteLength) in DerInputStream() method in DerInputStream
46 DerInputStream(sun.security.util.DerInputBuffer buf) { in DerInputStream() method in DerInputStream
56 public sun.security.util.DerInputStream subStream(int len, boolean do_skip) in subStream()
DDerValue.java98 private sun.security.util.DerInputStream init(byte stringTag, java.lang.String value) in init()
103 private sun.security.util.DerInputStream init(boolean fullyBuffered, java.io.InputStream in) in init()
114 public final sun.security.util.DerInputStream getData() { in getData()
245 public sun.security.util.DerInputStream toDerInputStream() throws java.io.IOException { in toDerInputStream()
283 public final sun.security.util.DerInputStream data;
/libcore/ojluni/src/main/java/javax/crypto/
DEncryptedPrivateKeyInfo.java33 import sun.security.util.DerInputStream;
410 DerInputStream in = new DerInputStream(encodedKey); in checkPKCS8Encoding()
419 DerInputStream algid = values[1].toDerInputStream(); in checkPKCS8Encoding()
/libcore/ojluni/src/main/java/sun/security/x509/
DPrivateKeyUsageExtension.java141 DerInputStream str = new DerInputStream(this.extensionValue); in PrivateKeyUsageExtension()
157 str = new DerInputStream(opt.toByteArray()); in PrivateKeyUsageExtension()
167 str = new DerInputStream(opt.toByteArray()); in PrivateKeyUsageExtension()
DCertificateValidity.java80 DerInputStream derIn = new DerInputStream(derVal.toByteArray()); in construct()
126 public CertificateValidity(DerInputStream in) throws IOException { in CertificateValidity()
DCRLExtensions.java82 public CRLExtensions(DerInputStream in) throws CRLException { in CRLExtensions()
87 private void init(DerInputStream derStrm) throws CRLException { in init()
89 DerInputStream str = derStrm; in init()
DEDIPartyName.java83 DerInputStream in = new DerInputStream(derValue.toByteArray()); in EDIPartyName()
/libcore/ojluni/src/main/java/java/security/
DPKCS12Attribute.java255 DerInputStream attributeValue = new DerInputStream(encoded); in parse()
261 DerInputStream attrContent = in parse()
262 new DerInputStream(attrSeq[1].toByteArray()); in parse()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DAdaptableX509CertSelector.java38 import sun.security.util.DerInputStream;
224 DerInputStream in = new DerInputStream(extVal); in matchSubjectKeyID()
DX509CertPath.java46 import sun.security.util.DerInputStream;
186 DerInputStream dis = new DerInputStream(readAllBytes(is)); in parsePKIPATH()
DOCSPResponse.java203 DerInputStream derIn = der.getData(); in OCSPResponse()
255 DerInputStream basicOCSPResponse = in OCSPResponse()
256 new DerInputStream(derIn.getOctetString()); in OCSPResponse()
273 DerInputStream seqDerIn = responseData.data; in OCSPResponse()
695 DerInputStream tmp = der.data; in SingleResponse()
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/
DSignerInfo.annotated.java31 import sun.security.util.DerInputStream;
51 public SignerInfo(DerInputStream derin) throws java.io.IOException, sun.security.pkcs.ParsingExcept… in SignerInfo()
54 public SignerInfo(DerInputStream derin, boolean oldStyle) throws java.io.IOException, sun.security.… in SignerInfo()
DContentInfo.annotated.java54 public ContentInfo(sun.security.util.DerInputStream derin) throws java.io.IOException, sun.security… in ContentInfo()
67 public ContentInfo(sun.security.util.DerInputStream derin, boolean oldStyle) throws java.io.IOExcep… in ContentInfo()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DCertificateExtensions.java41 public CertificateExtensions(sun.security.util.DerInputStream in) throws java.io.IOException { in CertificateExtensions()
45 private void init(sun.security.util.DerInputStream in) throws java.io.IOException { in init()
DUniqueIdentity.java40 public UniqueIdentity(sun.security.util.DerInputStream in) throws java.io.IOException { in UniqueIdentity()
/libcore/ojluni/src/main/java/java/security/cert/
DX509CRLSelector.java35 import sun.security.util.DerInputStream;
631 DerInputStream in = new DerInputStream(crlNumExtVal); in match()

123