anon.crypto
Class SignatureCreator
java.lang.Object
anon.crypto.SignatureCreator
public class SignatureCreator
- extends java.lang.Object
Constructor Summary |
private |
SignatureCreator()
Creates a new instance of SignatureVerifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ms_scInstance
private static SignatureCreator ms_scInstance
- Stores the instance of SignatureCreator (Singleton).
m_signatureKeys
private java.util.Hashtable m_signatureKeys
SignatureCreator
private SignatureCreator()
- Creates a new instance of SignatureVerifier.
getInstance
public static SignatureCreator getInstance()
- Returns the instance of SignatureCreator (Singleton). If there is no instance, there is a
new one created.
- Returns:
- The SignatureCreator instance.
setSigningKey
public void setSigningKey(int a_purpose,
PKCS12 a_signatureKey)
getSignedXml
public XMLSignature getSignedXml(int a_documentClass,
org.w3c.dom.Node a_nodeToSign)
signXml
public boolean signXml(int a_documentClass,
org.w3c.dom.Node a_nodeToSign)