|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.jss.asn1.EXPLICIT
public class EXPLICIT
An explicit tag.
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(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. |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Form FORM
Constructor Detail |
---|
public EXPLICIT(Tag tag, ASN1Value 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) );
Method Detail |
---|
public ASN1Value getContent()
public Tag getTag()
getTag
in interface ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
encode
in interface ASN1Value
java.io.IOException
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
encode
in interface ASN1Value
java.io.IOException
public static EXPLICIT.Template getTemplate(Tag tag, ASN1Template content)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |