org.eclipse.osgi.internal.signedcontent
Class LegacyVerifierFactory
java.lang.Object
org.eclipse.osgi.internal.signedcontent.LegacyVerifierFactory
- All Implemented Interfaces:
- CertificateVerifierFactory
public class LegacyVerifierFactory
- extends Object
- implements CertificateVerifierFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyVerifierFactory
public LegacyVerifierFactory(SignedContentFactory signedContentFactory)
getVerifier
public CertificateVerifier getVerifier(File content)
throws 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:
IOException - if an IO exception occurs while reading the repository
getVerifier
public CertificateVerifier getVerifier(Bundle bundle)
throws 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:
IOException - if an IO exception occurs while reading the bundle content
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.