public interface ASN1Value
ASN1Template
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
its own base tag.
|
void |
encode(Tag implicitTag,
java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
an implicit tag.
|
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
Tag getTag()
void encode(java.io.OutputStream ostream) throws java.io.IOException
ostream
- Output stream.java.io.IOException
- If an error occurred.void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
implicitTag
- Implicit tag.ostream
- Output stream.java.io.IOException
- If an error occurred.