Top Description Fields Constructors Methods
org.bouncycastle.openssl

public Class X509TrustedCertificateBlock

extends Object
Class Inheritance
Imports
java.io.IOException, org.bouncycastle.asn1.ASN1InputStream, .ASN1Object, org.bouncycastle.cert.X509CertificateHolder, org.bouncycastle.util.Arrays

Holder for an OpenSSL trusted certificate block.

Field Summary

Modifier and TypeField and Description
private final X509CertificateHolder
private final CertificateTrustBlock

Constructor Summary

AccessConstructor and Description
public
public
X509TrustedCertificateBlock(byte[] encoding)

Method Summary

Modifier and TypeMethod and Description
public X509CertificateHolder

Returns:

the certificate holder.
getCertificateHolder
()

Return the certificate associated with this Trusted Certificate

public byte[]
public CertificateTrustBlock

Returns:

the trust block.
getTrustBlock
()

Return the trust block associated with this Trusted Certificate

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

certificateHolderback to summary
private final X509CertificateHolder certificateHolder
trustBlockback to summary
private final CertificateTrustBlock trustBlock

Constructor Detail

X509TrustedCertificateBlockback to summary
public X509TrustedCertificateBlock(X509CertificateHolder certificateHolder, CertificateTrustBlock trustBlock)
X509TrustedCertificateBlockback to summary
public X509TrustedCertificateBlock(byte[] encoding) throws IOException

Method Detail

getCertificateHolderback to summary
public X509CertificateHolder getCertificateHolder()

Return the certificate associated with this Trusted Certificate

Returns:X509CertificateHolder

the certificate holder.

getEncodedback to summary
public byte[] getEncoded() throws IOException
getTrustBlockback to summary
public CertificateTrustBlock getTrustBlock()

Return the trust block associated with this Trusted Certificate

Returns:CertificateTrustBlock

the trust block.