org.eclipse.osgi.internal.signedcontent
Class LegacyVerifierFactory

java.lang.Object
  extended by org.eclipse.osgi.internal.signedcontent.LegacyVerifierFactory
All Implemented Interfaces:
CertificateVerifierFactory

public class LegacyVerifierFactory
extends java.lang.Object
implements CertificateVerifierFactory


Constructor Summary
LegacyVerifierFactory(SignedContentFactory signedContentFactory)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyVerifierFactory

public LegacyVerifierFactory(SignedContentFactory signedContentFactory)
Method Detail

getVerifier

public CertificateVerifier getVerifier(java.io.File content)
                                throws java.io.IOException
Description copied from interface: CertificateVerifierFactory
Creates a certificate verifier for the specified content of a repository

Specified by:
getVerifier in interface CertificateVerifierFactory
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

public CertificateVerifier getVerifier(Bundle bundle)
                                throws java.io.IOException
Description copied from interface: CertificateVerifierFactory
Returns a certificate verifier for the specified bundle.

Specified by:
getVerifier in interface CertificateVerifierFactory
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.