Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/main/java/sun/security/pkcs/
DContentInfo.java106 public ContentInfo(DerInputStream derin) in ContentInfo()
122 public ContentInfo(DerInputStream derin, boolean oldStyle) in ContentInfo()
125 DerInputStream disType; in ContentInfo()
126 DerInputStream disTaggedContent; in ContentInfo()
136 disType = new DerInputStream(type.toByteArray()); in ContentInfo()
150 = new DerInputStream(taggedContent.toByteArray()); in ContentInfo()
207 DerInputStream dis = new DerInputStream(content.toByteArray()); in getContentBytes()
DPKCS9Attributes.java33 import sun.security.util.DerInputStream;
85 DerInputStream in) throws IOException { in PKCS9Attributes()
115 public PKCS9Attributes(DerInputStream in) throws IOException { in PKCS9Attributes()
135 public PKCS9Attributes(DerInputStream in, in PKCS9Attributes()
186 private byte[] decode(DerInputStream in) throws IOException { in decode()
194 DerInputStream derIn = new DerInputStream(derEncoding); in decode()
DPKCS7.java124 parse(new DerInputStream(data)); in PKCS7()
134 public PKCS7(DerInputStream derin) throws ParsingException { in PKCS7()
147 DerInputStream derin = new DerInputStream(bytes); in PKCS7()
160 private void parse(DerInputStream derin) in parse()
190 private void parse(DerInputStream derin, boolean oldStyle) in parse()
243 DerInputStream dis = new DerInputStream(val.toByteArray()); in parseNetscapeCertChain()
289 DerInputStream dis = val.toDerInputStream(); in parseSignedData()
411 DerInputStream in = signerInfoVals[i].toDerInputStream(); in parseSignedData()
423 DerInputStream dis = val.toDerInputStream(); in parseOldSignedData()
495 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/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/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()
DSerialNumber.java74 public SerialNumber(DerInputStream in) throws IOException { in SerialNumber()
/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/java/security/
DPKCS12Attribute.java253 DerInputStream attributeValue = new DerInputStream(encoded); in parse()
256 DerInputStream attrContent = in parse()
257 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()
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/
DContentInfo.annotated.java55 public ContentInfo(sun.security.util.DerInputStream derin) throws java.io.IOException, sun.security… in ContentInfo()
68 public ContentInfo(sun.security.util.DerInputStream derin, boolean oldStyle) throws java.io.IOExcep… in ContentInfo()
DSignerInfo.annotated.java45 public SignerInfo(sun.security.util.DerInputStream derin) throws java.io.IOException, sun.security.… in SignerInfo()
47 public SignerInfo(sun.security.util.DerInputStream derin, boolean oldStyle) throws java.io.IOExcept… in SignerInfo()
/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.java42 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()
/libcore/ojluni/annotations/mmodule/java/sun/security/util/
DObjectIdentifier.annotated.java42 public ObjectIdentifier(sun.security.util.DerInputStream in) throws java.io.IOException { throw new… in ObjectIdentifier()

123