mcne.certificate
Class SoapCertificate

java.lang.Object
  |
  +--mcne.certificate.SoapCertificate

public class SoapCertificate
extends java.lang.Object

Gestiona los certificados necesarios para firmar

Author:
naza

Constructor Summary
protected SoapCertificate()
          Creates a new instance of Certificates
 
Method Summary
static SoapCertificate getInstance()
          Instancia Singleton
 java.security.PrivateKey getPrivateKey()
          Devuelve la clave privada del certificado firmante
 java.security.cert.X509Certificate getSOAPCertificate()
          Devuelve el certificado firmante
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapCertificate

protected SoapCertificate()
                   throws ClienteNotarioException
Creates a new instance of Certificates

Method Detail

getInstance

public static SoapCertificate getInstance()
Instancia Singleton


getPrivateKey

public java.security.PrivateKey getPrivateKey()
Devuelve la clave privada del certificado firmante

Returns:
PrivateKey

getSOAPCertificate

public java.security.cert.X509Certificate getSOAPCertificate()
Devuelve el certificado firmante

Returns:
X509Certificate