Top Description Fields Constructors Methods
org.bouncycastle.cert.crmf

public Class CertificateRepMessageBuilder

extends Object
Class Inheritance
Known Direct Subclasses
org.bouncycastle.cert.crmf.jcajce.JcaCertificateRepMessageBuilder
Imports
java.util.ArrayList, .List, org.bouncycastle.asn1.cmp.CMPCertificate, .CertRepMessage, .CertResponse, org.bouncycastle.cert.X509CertificateHolder

Builder for a CertificateRepMessage.

Field Summary

Modifier and TypeField and Description
private final CMPCertificate[]
private final List<CertResponse>

Constructor Summary

AccessConstructor and Description
public
CertificateRepMessageBuilder(X509CertificateHolder...
the CA public key and it's support certificates (optional)
caCerts
)

Base constructor which can accept 0 or more certificates representing the CA plus its chain.

Method Summary

Modifier and TypeMethod and Description
public CertificateRepMessageBuilder
public CertificateRepMessage
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

caCertsback to summary
private final CMPCertificate[] caCerts
responsesback to summary
private final List<CertResponse> responses

Constructor Detail

CertificateRepMessageBuilderback to summary
public CertificateRepMessageBuilder(X509CertificateHolder... caCerts)

Base constructor which can accept 0 or more certificates representing the CA plus its chain.

Parameters
caCerts:X509CertificateHolder[]

the CA public key and it's support certificates (optional)

Method Detail

addCertificateResponseback to summary
public CertificateRepMessageBuilder addCertificateResponse(CertificateResponse response)
buildback to summary
public CertificateRepMessage build()