org.eclipse.osgi.internal.provisional.verifier
Interface CertificateChain


public interface CertificateChain

This class represents a chain of certificates.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the equinox team.


Method Summary
 java.security.cert.Certificate[] getCertificates()
          Retruns all certificates in this certificate chain
 java.lang.String getChain()
          Returns the list of X500 distinguished names that make up the certificate chain.
 java.security.cert.Certificate getRoot()
          Returns the root certificate of the certificate chain
 java.security.cert.Certificate getSigner()
          Returns the first certificate of the certificate chain
 java.util.Date getSigningTime()
          Return the signing time for this signer.
 boolean isTrusted()
          Returns true if this certificate chain is trusted
 

Method Detail

getChain

java.lang.String getChain()
Returns the list of X500 distinguished names that make up the certificate chain. Each distinguished name is separated by a ';'. The first distinguished name is the signer and the last is the root Certificate Authority.

Returns:
the list of X500 distinguished names that make up the certificate chain

getCertificates

java.security.cert.Certificate[] getCertificates()
Retruns all certificates in this certificate chain

Returns:
all certificates in this certificate chain

getSigner

java.security.cert.Certificate getSigner()
Returns the first certificate of the certificate chain

Returns:
the first certificate of the certificate chain

getRoot

java.security.cert.Certificate getRoot()
Returns the root certificate of the certificate chain

Returns:
the foot certificate of the certificate chain

isTrusted

boolean isTrusted()
Returns true if this certificate chain is trusted

Returns:
true if this certificate chain is trusted

getSigningTime

java.util.Date getSigningTime()
Return the signing time for this signer.

Returns:
null if there is a signing time for this signer null otherwise


Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.