public class PKIMessage extends ASN1Object
Constructor and Description |
---|
PKIMessage(PKIHeader header,
PKIBody body) |
PKIMessage(PKIHeader header,
PKIBody body,
DERBitString protection) |
PKIMessage(PKIHeader header,
PKIBody body,
DERBitString protection,
CMPCertificate[] extraCerts)
Creates a new PKIMessage.
|
Modifier and Type | Method and Description |
---|---|
PKIBody |
getBody() |
CMPCertificate[] |
getExtraCerts() |
PKIHeader |
getHeader() |
static PKIMessage |
getInstance(java.lang.Object o) |
DERBitString |
getProtection() |
ASN1Primitive |
toASN1Primitive()
PKIMessage ::= SEQUENCE {
header PKIHeader,
body PKIBody,
protection [0] PKIProtection OPTIONAL,
extraCerts [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
OPTIONAL
}
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public PKIMessage(PKIHeader header, PKIBody body, DERBitString protection, CMPCertificate[] extraCerts)
header
- message headerbody
- message bodyprotection
- message protection (may be null)extraCerts
- extra certificates (may be null)public PKIMessage(PKIHeader header, PKIBody body, DERBitString protection)
public static PKIMessage getInstance(java.lang.Object o)
public PKIHeader getHeader()
public PKIBody getBody()
public DERBitString getProtection()
public CMPCertificate[] getExtraCerts()
public ASN1Primitive toASN1Primitive()
PKIMessage ::= SEQUENCE { header PKIHeader, body PKIBody, protection [0] PKIProtection OPTIONAL, extraCerts [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate OPTIONAL }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object