org.mozilla.jss.pkix.cmc
Class TaggedCertificationRequest
java.lang.Object
org.mozilla.jss.pkix.cmc.TaggedCertificationRequest
- ASN1Value
public class TaggedCertificationRequest
extends java.lang.Object
CMC
TaggedCertificationRequest:
TaggedCertificationRequest ::= SEQUENCE {
bodyPartID BodyPartID,
certificationRequest CertificationRequest
}
bodyIdMax INTEGER ::= 4294967295
BodyPartID ::= INTEGER(0..bodyIdMax)
BODYIDMAX
public static final INTEGER BODYIDMAX
TAG
public static final Tag TAG
TaggedCertificationRequest
public TaggedCertificationRequest(INTEGER bodyPartID,
CertificationRequest certificationRequest)
Constructs a TaggedCertificationRequest from its components.
bodyPartID
- the identifier.certificationRequest
- the pkcs10 request.
encode
public void encode(OutputStream ostream)
throws IOException
Write this value's DER encoding to an output stream using
its own base tag.
- encode in interface ASN1Value
encode
public void encode(Tag implicitTag,
OutputStream ostream)
throws IOException
Write this value's DER encoding to an output stream using
an implicit tag.
- encode in interface ASN1Value
getBodyPartID
public INTEGER getBodyPartID()
getTag
public Tag getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
- getTag in interface ASN1Value