Package org.bouncycastle.cert.crmf
Class CertificateRepMessage
java.lang.Object
org.bouncycastle.cert.crmf.CertificateRepMessage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateRepMessage
fromPKIBody
(org.bouncycastle.asn1.cmp.PKIBody pkiBody) org.bouncycastle.asn1.cmp.CMPCertificate[]
Return the actual CMP certificates - useful if the array also contains non-X509 PK certificates.static boolean
isCertificateRepMessage
(int bodyType) boolean
Return true if the message only contains X.509 public key certificates.org.bouncycastle.asn1.cmp.CertRepMessage
-
Constructor Details
-
CertificateRepMessage
public CertificateRepMessage(org.bouncycastle.asn1.cmp.CertRepMessage repMessage)
-
-
Method Details
-
fromPKIBody
-
isCertificateRepMessage
public static boolean isCertificateRepMessage(int bodyType) -
getResponses
-
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()
-