Package org.bouncycastle.cert.crmf
Class CertificateRepMessageBuilder
- java.lang.Object
-
- org.bouncycastle.cert.crmf.CertificateRepMessageBuilder
-
- Direct Known Subclasses:
JcaCertificateRepMessageBuilder
public class CertificateRepMessageBuilder extends java.lang.Object
Builder for a CertRepMessage.
-
-
Constructor Summary
Constructors Constructor Description CertificateRepMessageBuilder(X509CertificateHolder caCert)
CertificateRepMessageBuilder(X509CertificateHolder[] caCerts)
Base constructor which can accept 0 or more certificates representing the CA plus its chain.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateRepMessageBuilder
addCertificateResponse(CertificateResponse response)
CertificateRepMessage
build()
-
-
-
Constructor Detail
-
CertificateRepMessageBuilder
public CertificateRepMessageBuilder(X509CertificateHolder[] caCerts)
Base constructor which can accept 0 or more certificates representing the CA plus its chain.- Parameters:
caCerts
- the CA public key and it's support certificates (optional)
-
CertificateRepMessageBuilder
public CertificateRepMessageBuilder(X509CertificateHolder caCert)
-
-
Method Detail
-
addCertificateResponse
public CertificateRepMessageBuilder addCertificateResponse(CertificateResponse response)
-
build
public CertificateRepMessage build()
-
-