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


public interface CertificateTrustAuthority

A CertificateTrustAuthority is used to check if certificate chains are trusted.


Method Summary
 void addTrusted(Certificate[] certChain)
          Add the specified certificate chain as a trusted certificate chain.
 void checkTrust(Certificate[] certChain)
          Determines if the certificates are trusted.
 

Method Detail

checkTrust

void checkTrust(Certificate[] certChain)
                throws CertificateException
Determines if the certificates are trusted. This method will throw a CertificateException if the specified certificate chain is not trusted.

Parameters:
certChain - a chain of certificates
Throws:
CertificateException - if the certficates are not trusted

addTrusted

void addTrusted(Certificate[] certChain)
                throws CertificateException
Add the specified certificate chain as a trusted certificate chain.

Parameters:
certChain - a chain of certificates
Throws:
CertificateException


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.