public class PKIMessage extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
private PKIBody |
body |
private ASN1Sequence |
extraCerts |
private PKIHeader |
header |
private DERBitString |
protection |
BER, DER
Modifier | Constructor and Description |
---|---|
private |
PKIMessage(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
private void |
addOptional(ASN1EncodableVector v,
int tagNo,
ASN1Encodable obj) |
PKIBody |
getBody() |
PKIHeader |
getHeader() |
static PKIMessage |
getInstance(java.lang.Object o) |
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, hashCode
private PKIHeader header
private PKIBody body
private DERBitString protection
private ASN1Sequence extraCerts
private PKIMessage(ASN1Sequence seq)
public static PKIMessage getInstance(java.lang.Object o)
public PKIHeader getHeader()
public PKIBody getBody()
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 ASN1Encodable
private void addOptional(ASN1EncodableVector v, int tagNo, ASN1Encodable obj)
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.