pasn.encoding.der
Class DERInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
pasn.encoding.ASN1InputStream
pasn.misc.encoding.DefiniteLengthInputStream
pasn.encoding.der.DERInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class DERInputStream
- extends DefiniteLengthInputStream
- Author:
- ncottin
Constructor Summary |
DERInputStream(java.io.File src)
|
DERInputStream(java.io.File src,
long maxLength)
|
DERInputStream(java.io.InputStream in)
|
DERInputStream(java.io.InputStream in,
boolean extraAllowed)
|
DERInputStream(java.io.InputStream in,
long maxLength)
|
DERInputStream(java.io.InputStream in,
long maxLength,
boolean extraAllowed)
|
DERInputStream(java.io.InputStream in,
long maxLength,
long startIndex,
boolean extraAllowed)
|
DERInputStream(java.io.InputStream in,
long maxLength,
long startIndex,
boolean extraAllowed,
long delay,
long delayUnit)
|
DERInputStream(java.lang.String srcPath)
|
DERInputStream(java.lang.String srcPath,
long maxLength)
|
Methods inherited from class pasn.misc.encoding.DefiniteLengthInputStream |
decodeDefiniteLength, getASN1Class, getInstance, getLengthIndex, getValueIndex, isIndefiniteLength, isPrimitive, readLength, readTag, setIndefiniteLength, setLengthIndex, setValueIndex |
Methods inherited from class pasn.encoding.ASN1InputStream |
getDecoder, getDelay, getDelayUnit, getInputStream, getMaxLength, getReadLength, getStartIndex, isDelayed, isExtraAllowed, isLengthConstrained, readByte, readByte, setDelay, setExtraAllowed, setInputStream, setMaxLength |
Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DERInputStream
public DERInputStream(java.io.InputStream in)
- Parameters:
in
-
DERInputStream
public DERInputStream(java.io.InputStream in,
boolean extraAllowed)
DERInputStream
public DERInputStream(java.io.InputStream in,
long maxLength)
DERInputStream
public DERInputStream(java.io.InputStream in,
long maxLength,
boolean extraAllowed)
DERInputStream
public DERInputStream(java.io.InputStream in,
long maxLength,
long startIndex,
boolean extraAllowed)
DERInputStream
public DERInputStream(java.io.InputStream in,
long maxLength,
long startIndex,
boolean extraAllowed,
long delay,
long delayUnit)
DERInputStream
public DERInputStream(java.io.File src)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
DERInputStream
public DERInputStream(java.lang.String srcPath)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
DERInputStream
public DERInputStream(java.io.File src,
long maxLength)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
DERInputStream
public DERInputStream(java.lang.String srcPath,
long maxLength)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
decode
public final ASN1DecodedObject decode()
throws java.io.IOException,
ASN1DecodingException,
EndOfContentFoundException,
ASN1SecurityException,
ASN1TimerException
- Specified by:
decode
in class ASN1InputStream
- Throws:
java.io.IOException
ASN1DecodingException
EndOfContentFoundException
ASN1SecurityException
ASN1TimerException
getInstance
public final ASN1InputStream getInstance(java.io.InputStream in,
long length,
long startIndex,
boolean extraAllowed)
- Specified by:
getInstance
in class DefiniteLengthInputStream