Top Fields Constructors Methods
org.bouncycastle.cert.crmf

public Class CertificateRepMessage

extends Object
Class Inheritance
Imports
java.util.ArrayList, .List, org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.asn1.cmp.CMPCertificate, .CertRepMessage, .CertResponse, .PKIBody, org.bouncycastle.cert.X509CertificateHolder

Field Summary

Modifier and TypeField and Description
private final CMPCertificate[]
private final CertResponse[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static CertificateRepMessage
public CMPCertificate[]

Returns:

CMPCertificate array
getCMPCertificates
()

Return the actual CMP certificates - useful if the array also contains non-X509 PK certificates.

public CertificateResponse[]
public X509CertificateHolder[]
public static boolean
public boolean

Returns:

true if only X.509 PK, false otherwise.
isOnlyX509PKCertificates
()

Return true if the message only contains X.509 public key certificates.

public CertRepMessage
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

caCertsback to summary
private final CMPCertificate[] caCerts
respsback to summary
private final CertResponse[] resps

Constructor Detail

CertificateRepMessageback to summary
public CertificateRepMessage(CertRepMessage repMessage)

Method Detail

fromPKIBodyback to summary
public static CertificateRepMessage fromPKIBody(PKIBody pkiBody)
getCMPCertificatesback to summary
public CMPCertificate[] getCMPCertificates()

Return the actual CMP certificates - useful if the array also contains non-X509 PK certificates.

Returns:CMPCertificate[]

CMPCertificate array

getResponsesback to summary
public CertificateResponse[] getResponses()
getX509Certificatesback to summary
public X509CertificateHolder[] getX509Certificates()
isCertificateRepMessageback to summary
public static boolean isCertificateRepMessage(int bodyType)
isOnlyX509PKCertificatesback to summary
public boolean isOnlyX509PKCertificates()

Return true if the message only contains X.509 public key certificates.

Returns:boolean

true if only X.509 PK, false otherwise.

toASN1Structureback to summary
public CertRepMessage toASN1Structure()