org.mozilla.jss.asn1
public static class EXPLICIT.Template extends Object implements ASN1Template
Constructor Summary | |
---|---|
Template(Tag tag, ASN1Template content)
Creates a template for unwrapping an object wrapped in an explicit tag.
|
Method Summary | |
---|---|
ASN1Value | decode(InputStream istream) |
ASN1Value | decode(Tag implicitTag, InputStream istream) |
boolean | tagMatch(Tag tag) |
MyValue ::= [3] EXPLICIT INTEGERuse:
EXPLICIT.Template myTemplate = new EXPLICIT.Template( new Tag(3), new INTEGER.Template() );
Parameters: tag The tag value of the EXPLICIT tag. content The template for decoding the object that is wrapped in the explicit tag.