org.mozilla.jss.pkix.cmc
Class PKIData
java.lang.Object
org.mozilla.jss.pkix.cmc.PKIData
- ASN1Value
public class PKIData
extends java.lang.Object
A PKIData for CMC full enrollment request.
PKIData ::= SEQUENCE {
controlSequence SEQUENCE SIZE(0..MAX) OF TaggedAttribute,
reqSequence SEQUENCE SIZE(0..MAX) OF TaggedRequest,
cmsSequence SEQUENCE SIZE(0..MAX) OF TaggedContentInfo,
otherMsgSequence SEQUENCE SIZE(0..MAX) OF OtherMsg
}
static class | PKIData.Template - A template for decoding an PKIData from its BER encoding.
|
PKIData
public PKIData(SEQUENCE controlSequence,
SEQUENCE reqSequence,
SEQUENCE cmsSequence,
SEQUENCE otherMsgSequence)
Constructs a PKIData from its components.
controlSequence
- Sequence of TagggedAttribute.reqSequence
- Sequence of TagggedRequest.cmsSequence
- Sequence of TagggedContentInfo.otherMsgSequence
- Sequence of OtherMsg.
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
getCmsSequence
public SEQUENCE getCmsSequence()
getControlSequence
public SEQUENCE getControlSequence()
getOtherMsgSequence
public SEQUENCE getOtherMsgSequence()
getReqSequence
public SEQUENCE getReqSequence()
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