JSS 3.1

org.mozilla.jss.pkix.crmf
Class EncryptedKey.Template

java.lang.Object
  |
  +--org.mozilla.jss.pkix.crmf.EncryptedKey.Template

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

A Template for decoding BER-encoded EncryptedKeys.


Field Summary
private  CHOICE.Template choicet
           
 
Constructor Summary
EncryptedKey.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

EncryptedKey.Template

public EncryptedKey.Template()
Method Detail

tagMatch

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

decode

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

decode

public ASN1Value decode(Tag implicitTag,
                        java.io.InputStream istream)
                 throws InvalidBERException,
                        java.io.IOException
Specified by:
decode in interface ASN1Template
Parameters:
implicitTag - This parameter is ignored, because a CHOICE cannot have an implicitTag.

JSS 3.1