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

All Known Implementing Classes:
LegacyVerifierFactory

public interface CertificateVerifierFactory

A factory used to create certificate verifiers.

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
 CertificateVerifier getVerifier(Bundle bundle)
          Returns a certificate verifier for the specified bundle.
 CertificateVerifier getVerifier(java.io.File content)
          Creates a certificate verifier for the specified content of a repository
 

Method Detail

getVerifier

CertificateVerifier getVerifier(java.io.File content)
                                throws java.io.IOException
Creates a certificate verifier for the specified content of a repository

Parameters:
content - the content of the repository
Returns:
a certificate verifier for the specified content of a repository
Throws:
java.io.IOException - if an IO exception occurs while reading the repository

getVerifier

CertificateVerifier getVerifier(Bundle bundle)
                                throws java.io.IOException
Returns a certificate verifier for the specified bundle.

Parameters:
bundle - the bundle to get a verifier for
Returns:
a certificate verifier for the specified bundle.
Throws:
java.io.IOException - if an IO exception occurs while reading the bundle content


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