public static class Encoding.Template extends SEQUENCE.Template
Constructor and Description |
---|
Template() |
Modifier and Type | Method and Description |
---|---|
ASN1Value |
decode(java.io.InputStream istream)
Decodes a SEQUENCE from its BER encoding.
|
ASN1Value |
decode(Tag implicitTag,
java.io.InputStream istream)
Decodes a SEQUENCE from its BER encoding, where the SEQUENCE itself has
an implicit tag.
|
boolean |
tagMatch(Tag tag)
Determines whether the given tag will satisfy this template.
|
addElement, addElement, addElement, addElement, addOptionalElement, addOptionalElement, defaultAt, implicitTagAt, insertElementAt, insertElementAt, insertElementAt, insertElementAt, insertOptionalElementAt, insertOptionalElementAt, isOptionalAt, removeAllElements, removeElementAt, size, templateAt
public boolean tagMatch(Tag tag)
ASN1Template
tagMatch
in interface ASN1Template
tagMatch
in class SEQUENCE.Template
tag
- Tag.public ASN1Value decode(java.io.InputStream istream) throws java.io.IOException, InvalidBERException
SEQUENCE.Template
decode
in interface ASN1Template
decode
in class SEQUENCE.Template
istream
- Input stream.java.io.IOException
- If other error occurred.InvalidBERException
- If there is an invalid BER encoding.public ASN1Value decode(Tag implicitTag, java.io.InputStream istream) throws java.io.IOException, InvalidBERException
SEQUENCE.Template
decode
in interface ASN1Template
decode
in class SEQUENCE.Template
implicitTag
- Tag.istream
- Input stream.java.io.IOException
- If other error occurred.InvalidBERException
- If there is an invalid BER encoding.