org.mozilla.jss.asn1
public class EXPLICIT extends Object implements ASN1Value
Nested Class Summary | |
---|---|
static class | EXPLICIT.Template
A template for decoding an object wrapped in an EXPLICIT tag. |
Field Summary | |
---|---|
static Form | FORM |
Constructor Summary | |
---|---|
EXPLICIT(Tag tag, ASN1Value content)
Creates an EXPLICIT tag wrapping some other ASN1Value. |
Method Summary | |
---|---|
void | encode(OutputStream ostream) |
void | encode(Tag implicitTag, OutputStream ostream) |
ASN1Value | getContent()
Returns the ASN1Value that is wrapped by this EXPLICIT tag. |
Tag | getTag()
Returns the Tag of this EXPLICIT tag. |
static EXPLICIT.Template | getTemplate(Tag tag, ASN1Template content) |
MyType [3] EXPLICIT INTEGERassuming a sample value of 5 for the INTEGER, a MyType could be created with:
EXPLICIT myValue = new EXPLICIT( new Tag(3), new INTEGER(5) );