org.openoces.ooapi.signatures
Class OpensignSignatureFactory

java.lang.Object
  extended byorg.openoces.ooapi.signatures.OpensignSignatureFactory

public class OpensignSignatureFactory
extends java.lang.Object

This is a singleton class used to construct objects representing xmldsig signature generated by OpenSign. Use this class to instantiate high-level { @link OpensignSignature ] objects from a raw xmldsig document generated by OpenSign

Author:
Carsten Raskgaard

Field Summary
protected  javax.xml.parsers.DocumentBuilder db
           
protected  javax.xml.parsers.DocumentBuilderFactory dbf
           
 
Method Summary
 OpensignAbstractSignature generateOpensignSignature(java.lang.String xmlDoc)
           
static OpensignSignatureFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbf

protected javax.xml.parsers.DocumentBuilderFactory dbf

db

protected javax.xml.parsers.DocumentBuilder db
Method Detail

getInstance

public static OpensignSignatureFactory getInstance()

generateOpensignSignature

public OpensignAbstractSignature generateOpensignSignature(java.lang.String xmlDoc)
                                                    throws NonOpensignSignatureException,
                                                           InternalException
Throws:
NonOpensignSignatureException
InternalException