org.openoces.ooapi.signatures
Class OpensignAbstractSignature

java.lang.Object
  extended byorg.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

Field Summary
protected  org.w3c.dom.Document doc
           
protected  org.w3c.dom.Element nscontext
           
protected  boolean populatedInternalStructures
           
protected  org.w3c.dom.Element sigElement
           
protected  org.apache.xml.security.signature.XMLSignature signature
           
 
Constructor Summary
protected OpensignAbstractSignature(org.w3c.dom.Document doc)
           
 
Method Summary
protected  java.util.Hashtable getSignatureProperties()
           
 java.security.cert.X509Certificate getSigningCertificate()
           
protected  void populateInternalStructures()
           
 void verify()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

OpensignAbstractSignature

protected OpensignAbstractSignature(org.w3c.dom.Document doc)
Method Detail

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

getSignatureProperties

protected java.util.Hashtable getSignatureProperties()
                                              throws InternalException
Throws:
InternalException