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(java.security.cert.Certificate[] certChain)
          Add the specified certificate chain as a trusted certificate chain.
 void checkTrust(java.security.cert.Certificate[] certChain)
          Determines if the certificates are trusted.
 

Method Detail

checkTrust

void checkTrust(java.security.cert.Certificate[] certChain)
                throws java.security.cert.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:
java.security.cert.CertificateException - if the certficates are not trusted

addTrusted

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

Parameters:
certChain - a chain of certificates
Throws:
java.security.cert.CertificateException


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