public class

PKIMessage

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.cmp.PKIMessage

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
PKIMessage(PKIHeader header, PKIBody body, DERBitString protection, CMPCertificate[] extraCerts)
Creates a new PKIMessage.
PKIMessage(PKIHeader header, PKIBody body, DERBitString protection)
PKIMessage(PKIHeader header, PKIBody body)
Public Methods
PKIBody getBody()
CMPCertificate[] getExtraCerts()
PKIHeader getHeader()
static PKIMessage getInstance(Object o)
DERBitString getProtection()
DERObject toASN1Object()
 PKIMessage ::= SEQUENCE {
                  header           PKIHeader,
                  body             PKIBody,
                  protection   [0] PKIProtection OPTIONAL,
                  extraCerts   [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
                                                                     OPTIONAL
 }
 
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public PKIMessage (PKIHeader header, PKIBody body, DERBitString protection, CMPCertificate[] extraCerts)

Creates a new PKIMessage.

Parameters
header message header
body message body
protection message protection (may be null)
extraCerts extra certificates (may be null)

public PKIMessage (PKIHeader header, PKIBody body, DERBitString protection)

public PKIMessage (PKIHeader header, PKIBody body)

Public Methods

public PKIBody getBody ()

public CMPCertificate[] getExtraCerts ()

public PKIHeader getHeader ()

public static PKIMessage getInstance (Object o)

public DERBitString getProtection ()

public DERObject toASN1Object ()

 PKIMessage ::= SEQUENCE {
                  header           PKIHeader,
                  body             PKIBody,
                  protection   [0] PKIProtection OPTIONAL,
                  extraCerts   [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
                                                                     OPTIONAL
 }
 

Returns
  • a basic ASN.1 object representation.