Package org.bouncycastle.openssl
Class X509TrustedCertificateBlock
java.lang.Object
org.bouncycastle.openssl.X509TrustedCertificateBlock
Holder for an OpenSSL trusted certificate block.
-
Constructor Summary
ConstructorDescriptionX509TrustedCertificateBlock
(byte[] encoding) X509TrustedCertificateBlock
(X509CertificateHolder certificateHolder, CertificateTrustBlock trustBlock) -
Method Summary
Modifier and TypeMethodDescriptionReturn the certificate associated with this Trusted Certificatebyte[]
Return the trust block associated with this Trusted Certificate
-
Constructor Details
-
X509TrustedCertificateBlock
public X509TrustedCertificateBlock(X509CertificateHolder certificateHolder, CertificateTrustBlock trustBlock) -
X509TrustedCertificateBlock
- Throws:
IOException
-
-
Method Details
-
getEncoded
- Throws:
IOException
-
getCertificateHolder
Return the certificate associated with this Trusted Certificate- Returns:
- the certificate holder.
-
getTrustBlock
Return the trust block associated with this Trusted Certificate- Returns:
- the trust block.
-