org.mozilla.jss.pkix.crmf
Class CertReqMsg.Template
java.lang.Object
org.mozilla.jss.pkix.crmf.CertReqMsg.Template
- CertReqMsg
- ASN1Template
public static class CertReqMsg.Template
extends java.lang.Object
A class for decoding CertReqMsg structures from a BER encoding.
ASN1Value | decode(InputStream istream) - Decodes a CertReqMsg from the given input stream.
|
ASN1Value | decode(Tag implicit, InputStream istream) - Decodes a CertReqMsg from the given input stream, using
the given implicit tag.
|
boolean | tagMatch(Tag t)
|
decode
public ASN1Value decode(InputStream istream)
throws IOException,
InvalidBERException
Decodes a CertReqMsg from the given input stream.
- decode in interface ASN1Template
- A new CertReqMsg. The return value may be cast
to a
CertReqMsg
.
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)
throws IOException,
InvalidBERException
Decodes a CertReqMsg from the given input stream, using
the given implicit tag.
- decode in interface ASN1Template
implicit
- The implicit tag for this item. This must be
supplied if the CertReqMsg appears in a context
where it is implicitly tagged.
- A new CertReqMsg. The return value may be cast
to a
CertReqMsg
.
InvalidBERException
- If the data on the input stream is not
a valid BER encoding of a CertReqMsg.