JSS 3.1

org.mozilla.jss.pkix.primitive
Class DirectoryString.Template

java.lang.Object
  |
  +--org.mozilla.jss.pkix.primitive.DirectoryString.Template

public static class DirectoryString.Template
extends java.lang.Object
implements ASN1Template

A Template for decoding DirectoryStrings from their BER encoding.


Field Summary
private  CHOICE.Template choicet
           
 
Constructor Summary
DirectoryString.Template()
           
 
Method Summary
 ASN1Value decode(java.io.InputStream istream)
           
 ASN1Value decode(Tag implicitTag, java.io.InputStream istream)
           
 boolean tagMatch(Tag tag)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

choicet

private CHOICE.Template choicet
Constructor Detail

DirectoryString.Template

public DirectoryString.Template()
Method Detail

tagMatch

public boolean tagMatch(Tag tag)
Specified by:
tagMatch in interface ASN1Template

decode

public ASN1Value decode(java.io.InputStream istream)
                 throws java.io.IOException,
                        InvalidBERException
Specified by:
decode in interface ASN1Template

decode

public ASN1Value decode(Tag implicitTag,
                        java.io.InputStream istream)
                 throws java.io.IOException,
                        InvalidBERException
Specified by:
decode in interface ASN1Template
Parameters:
implicitTag - This paramter is ignored, because DirectoryStrings (being CHOICEs) cannot have implicit tags.

JSS 3.1