public static class PKIArchiveOptions.Template extends java.lang.Object implements ASN1Template
Constructor and Description |
---|
PKIArchiveOptions.Template() |
Modifier and Type | Method and Description |
---|---|
ASN1Value |
decode(java.io.InputStream istream)
Decodes a PKIArchiveOptions.
|
ASN1Value |
decode(Tag implicitTag,
java.io.InputStream istream)
Decodes a PKIArchiveOptions.
|
boolean |
tagMatch(Tag tag)
Returns true if the given tag can satisfy this CHOICE.
|
public boolean tagMatch(Tag tag)
tagMatch
in interface ASN1Template
public ASN1Value decode(java.io.InputStream istream) throws java.io.IOException, InvalidBERException
decode
in interface ASN1Template
istream
- 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.IOException
InvalidBERException
public ASN1Value decode(Tag implicitTag, java.io.InputStream istream) throws java.io.IOException, InvalidBERException
decode
in interface ASN1Template
implicitTag
- This parameter is ignored. Since
PKIArchiveOptions is a CHOICE, it cannot have an implicit tag.istream
- 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.IOException
InvalidBERException