Package org.bouncycastle.cert.crmf
Class CertificateRepMessage
- java.lang.Object
-
- org.bouncycastle.cert.crmf.CertificateRepMessage
-
public class CertificateRepMessage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CertificateRepMessage(org.bouncycastle.asn1.cmp.CertRepMessage repMessage)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
fromPKIBody
public static CertificateRepMessage fromPKIBody(org.bouncycastle.asn1.cmp.PKIBody pkiBody)
-
isCertificateRepMessage
public static boolean isCertificateRepMessage(int bodyType)
-
getResponses
public CertificateResponse[] getResponses()
-
getX509Certificates
public X509CertificateHolder[] getX509Certificates()
-
isOnlyX509PKCertificates
public boolean isOnlyX509PKCertificates()
Return true if the message only contains X.509 public key certificates.- Returns:
- true if only X.509 PK, false otherwise.
-
getCMPCertificates
public org.bouncycastle.asn1.cmp.CMPCertificate[] getCMPCertificates()
Return the actual CMP certificates - useful if the array also contains non-X509 PK certificates.- Returns:
- CMPCertificate array
-
toASN1Structure
public org.bouncycastle.asn1.cmp.CertRepMessage toASN1Structure()
-
-