public class CertificateRepMessage
extends java.lang.Object
Constructor and Description |
---|
CertificateRepMessage(org.bouncycastle.asn1.cmp.CertRepMessage repMessage) |
Modifier and Type | Method and Description |
---|---|
static CertificateRepMessage |
fromPKIBody(org.bouncycastle.asn1.cmp.PKIBody pkiBody) |
org.bouncycastle.asn1.cmp.CMPCertificate[] |
getCMPCertificates()
Return the actual CMP certificates - useful if the array also contains non-X509 PK certificates.
|
CertificateResponse[] |
getResponses() |
X509CertificateHolder[] |
getX509Certificates() |
static boolean |
isCertificateRepMessage(int bodyType) |
boolean |
isOnlyX509PKCertificates()
Return true if the message only contains X.509 public key certificates.
|
org.bouncycastle.asn1.cmp.CertRepMessage |
toASN1Structure() |
public CertificateRepMessage(org.bouncycastle.asn1.cmp.CertRepMessage repMessage)
public static CertificateRepMessage fromPKIBody(org.bouncycastle.asn1.cmp.PKIBody pkiBody)
public static boolean isCertificateRepMessage(int bodyType)
public CertificateResponse[] getResponses()
public X509CertificateHolder[] getX509Certificates()
public boolean isOnlyX509PKCertificates()
public org.bouncycastle.asn1.cmp.CMPCertificate[] getCMPCertificates()
public org.bouncycastle.asn1.cmp.CertRepMessage toASN1Structure()