org.kde.koala

Class KSSLCertChain

public class KSSLCertChain extends Object implements QtSupport

KDE Certificate Chain Representation Class This class provides a representation for an X.509 certificate chain.

Author: George Staikos

See Also: KSSL KSSLCertificate KSSLPeerInfo

UNKNOWN: KDE X.509 Certificate Chain.

Constructor Summary
protected KSSLCertChain(Class dummy)
KSSLCertChain()
Construct a KSSLCertChain object
Method Summary
intdepth()
Determine the number of entries (depth) of the chain.
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
booleanisDisposed()
Has the wrapped C++ instance been deleted?
booleanisValid()
Determine if this represents a valid certificate chain
KSSLCertChainreplicate()
Do a deep copy of the certificate chain.
voidsetCertChain(String[] chain)
Set the certificate chain as a list of base64 encoded X.509 certificates.

Constructor Detail

KSSLCertChain

protected KSSLCertChain(Class dummy)

KSSLCertChain

public KSSLCertChain()
Construct a KSSLCertChain object

UNKNOWN: Construct a KSSLCertChain object

Method Detail

depth

public int depth()
Determine the number of entries (depth) of the chain.

Returns: the number of entries in the certificate chain

UNKNOWN: Determine the number of entries (depth) of the chain.

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

finalize

protected void finalize()
Deletes the wrapped C++ instance

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

isValid

public boolean isValid()
Determine if this represents a valid certificate chain

Returns: true if it is a valid certificate chain

UNKNOWN: Determine if this represents a valid certificate chain

replicate

public KSSLCertChain replicate()
Do a deep copy of the certificate chain. This is an expensive operation, and you are responsible for deleting the returned object yourself.

Returns: pointer to a new certificate chain object

UNKNOWN: Do a deep copy of the certificate chain.

setCertChain

public void setCertChain(String[] chain)
Set the certificate chain as a list of base64 encoded X.509 certificates.

Parameters: chain the certificate chain

UNKNOWN: Set the certificate chain as a list of base64 encoded X.