es.caib.signatura.api
Class SignerFactory

java.lang.Object
  extended by es.caib.signatura.api.SignerFactory

public class SignerFactory
extends java.lang.Object

Clase factory que obtiene la clase que implementa la interfaz Signature en función del nombre de la entidad certificadora

Version:
1.0
Author:
Jesús Reyes (3dígits)
See Also:
Signature

Field Summary
 java.lang.String updateSite
           
 
Constructor Summary
SignerFactory()
           
SignerFactory(java.util.Map signerConfig)
           
 
Method Summary
 void configUpdateSite()
           
 java.lang.String getAPIVersion()
           
 Signer getSigner()
          Obtiene un objeto de la clase que implementa la interfaz Signature según el nombre de la entidad certificadora
 java.lang.String getUpdateSite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

updateSite

public java.lang.String updateSite
Constructor Detail

SignerFactory

public SignerFactory()

SignerFactory

public SignerFactory(java.util.Map signerConfig)
Method Detail

getAPIVersion

public java.lang.String getAPIVersion()
                               throws java.io.FileNotFoundException,
                                      java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

configUpdateSite

public void configUpdateSite()
                      throws java.io.FileNotFoundException,
                             java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

getUpdateSite

public java.lang.String getUpdateSite()
                               throws java.io.FileNotFoundException,
                                      java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

getSigner

public Signer getSigner()
                 throws UpgradeNeededException
Obtiene un objeto de la clase que implementa la interfaz Signature según el nombre de la entidad certificadora

Returns:
objeto que implementa Signature para la entidad certificadora caName
Throws:
UpgradeNeededException


Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.