org.bouncycastle.asn1.cmp
Class PKIBody
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.cmp.PKIBody
- All Implemented Interfaces:
- ASN1Choice, ASN1Encodable, Encodable
- public class PKIBody
- extends ASN1Object
- implements ASN1Choice
PKIBody ::= CHOICE { -- message-specific body elements
ir [0] CertReqMessages, --Initialization Request
ip [1] CertRepMessage, --Initialization Response
cr [2] CertReqMessages, --Certification Request
cp [3] CertRepMessage, --Certification Response
p10cr [4] CertificationRequest, --imported from [PKCS10]
popdecc [5] POPODecKeyChallContent, --pop Challenge
popdecr [6] POPODecKeyRespContent, --pop Response
kur [7] CertReqMessages, --Key Update Request
kup [8] CertRepMessage, --Key Update Response
krr [9] CertReqMessages, --Key Recovery Request
krp [10] KeyRecRepContent, --Key Recovery Response
rr [11] RevReqContent, --Revocation Request
rp [12] RevRepContent, --Revocation Response
ccr [13] CertReqMessages, --Cross-Cert. Request
ccp [14] CertRepMessage, --Cross-Cert. Response
ckuann [15] CAKeyUpdAnnContent, --CA Key Update Ann.
cann [16] CertAnnContent, --Certificate Ann.
rann [17] RevAnnContent, --Revocation Ann.
crlann [18] CRLAnnContent, --CRL Announcement
pkiconf [19] PKIConfirmContent, --Confirmation
nested [20] NestedMessageContent, --Nested Message
genm [21] GenMsgContent, --General Message
genp [22] GenRepContent, --General Response
error [23] ErrorMsgContent, --Error Message
certConf [24] CertConfirmContent, --Certificate confirm
pollReq [25] PollReqContent, --Polling request
pollRep [26] PollRepContent --Polling response
}
Method Summary |
ASN1Encodable |
getContent()
|
static PKIBody |
getInstance(java.lang.Object o)
|
int |
getType()
|
ASN1Primitive |
toASN1Primitive()
PKIBody ::= CHOICE { -- message-specific body elements
ir [0] CertReqMessages, --Initialization Request
ip [1] CertRepMessage, --Initialization Response
cr [2] CertReqMessages, --Certification Request
cp [3] CertRepMessage, --Certification Response
p10cr [4] CertificationRequest, --imported from [PKCS10]
popdecc [5] POPODecKeyChallContent, --pop Challenge
popdecr [6] POPODecKeyRespContent, --pop Response
kur [7] CertReqMessages, --Key Update Request
kup [8] CertRepMessage, --Key Update Response
krr [9] CertReqMessages, --Key Recovery Request
krp [10] KeyRecRepContent, --Key Recovery Response
rr [11] RevReqContent, --Revocation Request
rp [12] RevRepContent, --Revocation Response
ccr [13] CertReqMessages, --Cross-Cert. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TYPE_INIT_REQ
public static final int TYPE_INIT_REQ
TYPE_INIT_REP
public static final int TYPE_INIT_REP
TYPE_CERT_REQ
public static final int TYPE_CERT_REQ
TYPE_CERT_REP
public static final int TYPE_CERT_REP
TYPE_P10_CERT_REQ
public static final int TYPE_P10_CERT_REQ
TYPE_POPO_CHALL
public static final int TYPE_POPO_CHALL
TYPE_POPO_REP
public static final int TYPE_POPO_REP
TYPE_KEY_UPDATE_REQ
public static final int TYPE_KEY_UPDATE_REQ
TYPE_KEY_UPDATE_REP
public static final int TYPE_KEY_UPDATE_REP
TYPE_KEY_RECOVERY_REQ
public static final int TYPE_KEY_RECOVERY_REQ
TYPE_KEY_RECOVERY_REP
public static final int TYPE_KEY_RECOVERY_REP
TYPE_REVOCATION_REQ
public static final int TYPE_REVOCATION_REQ
TYPE_REVOCATION_REP
public static final int TYPE_REVOCATION_REP
TYPE_CROSS_CERT_REQ
public static final int TYPE_CROSS_CERT_REQ
TYPE_CROSS_CERT_REP
public static final int TYPE_CROSS_CERT_REP
TYPE_CA_KEY_UPDATE_ANN
public static final int TYPE_CA_KEY_UPDATE_ANN
TYPE_CERT_ANN
public static final int TYPE_CERT_ANN
TYPE_REVOCATION_ANN
public static final int TYPE_REVOCATION_ANN
TYPE_CRL_ANN
public static final int TYPE_CRL_ANN
TYPE_CONFIRM
public static final int TYPE_CONFIRM
TYPE_NESTED
public static final int TYPE_NESTED
TYPE_GEN_MSG
public static final int TYPE_GEN_MSG
TYPE_GEN_REP
public static final int TYPE_GEN_REP
TYPE_ERROR
public static final int TYPE_ERROR
TYPE_CERT_CONFIRM
public static final int TYPE_CERT_CONFIRM
TYPE_POLL_REQ
public static final int TYPE_POLL_REQ
TYPE_POLL_REP
public static final int TYPE_POLL_REP
PKIBody
public PKIBody(int type,
ASN1Encodable content)
- Creates a new PKIBody.
- Parameters:
type
- one of the TYPE_* constantscontent
- message content
getInstance
public static PKIBody getInstance(java.lang.Object o)
getType
public int getType()
getContent
public ASN1Encodable getContent()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- PKIBody ::= CHOICE { -- message-specific body elements
ir [0] CertReqMessages, --Initialization Request
ip [1] CertRepMessage, --Initialization Response
cr [2] CertReqMessages, --Certification Request
cp [3] CertRepMessage, --Certification Response
p10cr [4] CertificationRequest, --imported from [PKCS10]
popdecc [5] POPODecKeyChallContent, --pop Challenge
popdecr [6] POPODecKeyRespContent, --pop Response
kur [7] CertReqMessages, --Key Update Request
kup [8] CertRepMessage, --Key Update Response
krr [9] CertReqMessages, --Key Recovery Request
krp [10] KeyRecRepContent, --Key Recovery Response
rr [11] RevReqContent, --Revocation Request
rp [12] RevRepContent, --Revocation Response
ccr [13] CertReqMessages, --Cross-Cert. Request
ccp [14] CertRepMessage, --Cross-Cert. Response
ckuann [15] CAKeyUpdAnnContent, --CA Key Update Ann.
cann [16] CertAnnContent, --Certificate Ann.
rann [17] RevAnnContent, --Revocation Ann.
crlann [18] CRLAnnContent, --CRL Announcement
pkiconf [19] PKIConfirmContent, --Confirmation
nested [20] NestedMessageContent, --Nested Message
genm [21] GenMsgContent, --General Message
genp [22] GenRepContent, --General Response
error [23] ErrorMsgContent, --Error Message
certConf [24] CertConfirmContent, --Certificate confirm
pollReq [25] PollReqContent, --Polling request
pollRep [26] PollRepContent --Polling response
}
- Overrides:
toASN1Primitive
in class ASN1Object
- Returns:
- a basic ASN.1 object representation.