Interface SignatureServiceProvider

  • All Known Implementing Classes:
    NativeServiceProvider, SoSignatureServiceProvider

    public interface SignatureServiceProvider
    This is the main signing service provider interface which provides access to third party signing services.

    This interface has to be implemented by the specific signature solution vendors to provide access to their specific customized signing service.

    The enclosing application expects the signing realization as a JAR archive with a signature service provider, which fulfills this interface and is declared as signature service provider.

    To declare a signature service provider, a services subdirectory have to be placed within the META-INF directory that is present in every JAR file. This directory should contain a file for signature service providers that has one or more implementation classes present in the JAR file. This file should contain an entry per line for each service provider that has an implementation in the JAR.

    For example, if the JAR file contained a class named com.mycompany.mysigner.MySignatureServiceProviderImpl which implements this interface, the JAR file must contain a file named

     org.jopensignature.sign.SignatureServiceProvider
     
    containing the line
     com.mycompany.mysigner.MySignatureServiceProviderImpl
     
    and have to be located in the JAR file in the following directory
     META-INF/services/
     

    For more details on declaring service providers, and the JAR format in general, see the JAR File Specification.