org.mozilla.jss.pkix.crmf

Class CertReqMsg.Template

public static class CertReqMsg.Template extends Object implements ASN1Template

A class for decoding CertReqMsg structures from a BER encoding.
Method Summary
ASN1Valuedecode(InputStream istream)
Decodes a CertReqMsg from the given input stream.
ASN1Valuedecode(Tag implicit, InputStream istream)
Decodes a CertReqMsg from the given input stream, using the given implicit tag.
booleantagMatch(Tag t)

Method Detail

decode

public ASN1Value decode(InputStream istream)
Decodes a CertReqMsg from the given input stream.

Returns: A new CertReqMsg. The return value may be cast to a CertReqMsg.

Throws: InvalidBERException If the data on the input stream is not a valid BER encoding of a CertReqMsg.

decode

public ASN1Value decode(Tag implicit, InputStream istream)
Decodes a CertReqMsg from the given input stream, using the given implicit tag.

Parameters: implicit The implicit tag for this item. This must be supplied if the CertReqMsg appears in a context where it is implicitly tagged.

Returns: A new CertReqMsg. The return value may be cast to a CertReqMsg.

Throws: InvalidBERException If the data on the input stream is not a valid BER encoding of a CertReqMsg.

tagMatch

public boolean tagMatch(Tag t)