org.bouncycastle.asn1.cmp

Class PKIMessage

Implemented Interfaces:
DEREncodable

public class PKIMessage
extends ASN1Encodable

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Method Summary

PKIBody
getBody()
PKIHeader
getHeader()
static PKIMessage
getInstance(Object o)
DERObject
toASN1Object()
 PKIMessage ::= SEQUENCE {
                  header           PKIHeader,
                  body             PKIBody,
                  protection   [0] PKIProtection OPTIONAL,
                  extraCerts   [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
                                                                     OPTIONAL
 }
 

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Method Details

getBody

public PKIBody getBody()

getHeader

public PKIHeader getHeader()

getInstance

public static PKIMessage getInstance(Object o)

toASN1Object

public DERObject toASN1Object()
 PKIMessage ::= SEQUENCE {
                  header           PKIHeader,
                  body             PKIBody,
                  protection   [0] PKIProtection OPTIONAL,
                  extraCerts   [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
                                                                     OPTIONAL
 }
 
Overrides:
toASN1Object in interface ASN1Encodable
Returns:
a basic ASN.1 object representation.