Package org.bouncycastle.openssl
Class X509TrustedCertificateBlock
- java.lang.Object
-
- org.bouncycastle.openssl.X509TrustedCertificateBlock
-
public class X509TrustedCertificateBlock extends java.lang.Object
Holder for an OpenSSL trusted certificate block.
-
-
Constructor Summary
Constructors Constructor Description X509TrustedCertificateBlock(byte[] encoding)
X509TrustedCertificateBlock(X509CertificateHolder certificateHolder, CertificateTrustBlock trustBlock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description X509CertificateHolder
getCertificateHolder()
Return the certificate associated with this Trusted Certificatebyte[]
getEncoded()
CertificateTrustBlock
getTrustBlock()
Return the trust block associated with this Trusted Certificate
-
-
-
Constructor Detail
-
X509TrustedCertificateBlock
public X509TrustedCertificateBlock(X509CertificateHolder certificateHolder, CertificateTrustBlock trustBlock)
-
X509TrustedCertificateBlock
public X509TrustedCertificateBlock(byte[] encoding) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getEncoded
public byte[] getEncoded() throws java.io.IOException
- Throws:
java.io.IOException
-
getCertificateHolder
public X509CertificateHolder getCertificateHolder()
Return the certificate associated with this Trusted Certificate- Returns:
- the certificate holder.
-
getTrustBlock
public CertificateTrustBlock getTrustBlock()
Return the trust block associated with this Trusted Certificate- Returns:
- the trust block.
-
-