org.openoces.ooapi.signatures
Class OpensignAbstractSignature
java.lang.Object
org.openoces.ooapi.signatures.OpensignAbstractSignature
- Direct Known Subclasses:
- OpenlogonSignature, OpensignSignature
- public abstract class OpensignAbstractSignature
- extends java.lang.Object
This class is a high-level representation of the parts of an Opensign generated xmldsig signature, that is common for
Openlogon and Opensign
- Author:
- Carsten Raskgaard
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
protected org.w3c.dom.Document doc
populatedInternalStructures
protected boolean populatedInternalStructures
nscontext
protected org.w3c.dom.Element nscontext
sigElement
protected org.w3c.dom.Element sigElement
signature
protected org.apache.xml.security.signature.XMLSignature signature
NAMESPACEURI_OPENOCES_R1
protected final java.lang.String NAMESPACEURI_OPENOCES_R1
- See Also:
- Constant Field Values
NAMESPACEURI_OPENOCES_R2
protected final java.lang.String NAMESPACEURI_OPENOCES_R2
- See Also:
- Constant Field Values
OpensignAbstractSignature
protected OpensignAbstractSignature(org.w3c.dom.Document doc)
populateInternalStructures
protected void populateInternalStructures()
throws javax.xml.transform.TransformerException,
org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
javax.xml.transform.TransformerException
org.apache.xml.security.exceptions.XMLSecurityException
getSigningCertificate
public java.security.cert.X509Certificate getSigningCertificate()
throws InternalException
- Throws:
InternalException
verify
public void verify()
throws InternalException,
SignatureVerificationException
- Throws:
InternalException
SignatureVerificationException
getDocument
protected static org.w3c.dom.Document getDocument(byte[] bs)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
org.xml.sax.SAXException
- Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
getSignaturePropertiesExtended
protected java.util.Hashtable[] getSignaturePropertiesExtended()
throws InternalException
- Throws:
InternalException
getSignatureProperties
public java.util.Hashtable getSignatureProperties()
throws InternalException
- Throws:
InternalException