public class PKIMessage extends ASN1Encodable
BER, DER| 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(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
}
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic 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(Object o)
public PKIHeader getHeader()
public PKIBody getBody()
public DERBitString getProtection()
public CMPCertificate[] getExtraCerts()
public DERObject toASN1Object()
PKIMessage ::= SEQUENCE {
header PKIHeader,
body PKIBody,
protection [0] PKIProtection OPTIONAL,
extraCerts [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
OPTIONAL
}
toASN1Object in class ASN1EncodableCopyright © 2015. All rights reserved.