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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X509TrustedCertificateBlock
public X509TrustedCertificateBlock(X509CertificateHolder certificateHolder,
CertificateTrustBlock trustBlock)
X509TrustedCertificateBlock
public X509TrustedCertificateBlock(byte[] encoding)
throws java.io.IOException
getEncoded
public byte[] getEncoded()
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.