public static class Control.Template extends AVA.Template implements ASN1Template
| Constructor and Description |
|---|
Control.Template() |
| Modifier and Type | Method and Description |
|---|---|
ASN1Value |
decode(java.io.InputStream istream)
Decodes an ASN1Value from the InputStream without an implicit tag.
|
ASN1Value |
decode(Tag implicit,
java.io.InputStream istream)
Decodes an ASN1Value from the InputStream with the given implicit
tag.
|
tagMatchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittagMatchpublic ASN1Value decode(java.io.InputStream istream) throws java.io.IOException, InvalidBERException
ASN1Templatedecode in interface ASN1Templatedecode in class AVA.Templateistream - Must support marking (markSupported() == true).
For example, ByteArrayInputStream and BufferedInputStream
support marking, but FileInputStream does not. If your source
does not support marking, you can wrap it in a
BufferedInputStream.java.io.IOExceptionInvalidBERExceptionpublic ASN1Value decode(Tag implicit, java.io.InputStream istream) throws java.io.IOException, InvalidBERException
ASN1Templatedecode in interface ASN1Templatedecode in class AVA.Templateistream - Must support marking (markSupported() == true).
For example, ByteArrayInputStream and BufferedInputStream
support marking, but FileInputStream does not. If your source
does not support marking, you can wrap it in a
BufferedInputStream.java.io.IOExceptionInvalidBERException