org.mozilla.jss.asn1
Class EXPLICIT.Template
java.lang.Object
org.mozilla.jss.asn1.EXPLICIT.Template
- EXPLICIT
- ASN1Template
public static class EXPLICIT.Template
extends java.lang.Object
A template for decoding an object wrapped in an EXPLICIT tag.
Template
public Template(Tag tag,
ASN1Template content)
Creates a template for unwrapping an object wrapped in an explicit tag.
For example, to decode:
MyValue ::= [3] EXPLICIT INTEGER
use:
EXPLICIT.Template myTemplate = new EXPLICIT.Template( new Tag(3),
new INTEGER.Template() );
tag
- The tag value of the EXPLICIT tag.content
- The template for decoding the object that is wrapped
in the explicit tag.