cz.utb.fai.simkovicp.pki.x509
Class X509Manager

java.lang.Object
  extended by cz.utb.fai.simkovicp.pki.x509.X509Manager
All Implemented Interfaces:
java.io.Serializable

public class X509Manager
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Method Summary
static X509Manager getINSTANCE()
          Returns the instance of X509Manager.
 java.security.KeyStore getPdfSignKeyStore()
          PDF key store to verify signature
 java.security.KeyStore getPdfTimeKeyStore()
          PDF key store to verify timestamp
 PKCS12Device getPKCS12ToPdfSign()
          Returns the PKCS12 device to PDF signature.
 PKCS12Device getPKCS12ToSMimeSign()
          Returns the PKCS12 device to S/MIME signature.
 PKCS12Device getPKCS12ToXMLSign()
          Returns the PKCS12 device to XML signature.
 java.security.KeyStore getXmlSignKeyStore()
          XML key store to verify signature
protected  void init()
          Init method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getINSTANCE

public static X509Manager getINSTANCE()
Returns the instance of X509Manager.

Returns:
the instance of X509Manager

init

protected void init()
Init method. Loading the certificates according to configuration file.


getPKCS12ToPdfSign

public PKCS12Device getPKCS12ToPdfSign()
Returns the PKCS12 device to PDF signature.

Returns:
the PKCS12 device to PDF signature

getPdfSignKeyStore

public java.security.KeyStore getPdfSignKeyStore()
PDF key store to verify signature

Returns:
the pdfKeyStore

getPdfTimeKeyStore

public java.security.KeyStore getPdfTimeKeyStore()
PDF key store to verify timestamp

Returns:
the pdfKeyStore

getPKCS12ToXMLSign

public PKCS12Device getPKCS12ToXMLSign()
Returns the PKCS12 device to XML signature.

Returns:
the PKCS12 device to XML signature

getXmlSignKeyStore

public java.security.KeyStore getXmlSignKeyStore()
XML key store to verify signature

Returns:
the xmlSignKeyStore

getPKCS12ToSMimeSign

public PKCS12Device getPKCS12ToSMimeSign()
Returns the PKCS12 device to S/MIME signature.

Returns:
the PKCS12 device to S/MIME signature