asit.moa.client.sign
Class SingleSignatureInfoImpl

java.lang.Object
  extended byasit.moa.client.sign.SingleSignatureInfoImpl
All Implemented Interfaces:
SingleSignatureInfo

public class SingleSignatureInfoImpl
extends Object
implements SingleSignatureInfo

Author:
atauber

Field Summary
protected  Element docToEmbed_
           
protected  byte[] docToEmbedBase64_
           
protected  String environmentReference_
           
protected  boolean isSecurityLayerConform_
           
protected  int location_
           
protected  String locRefContent_
           
protected  Vector namespacePrefixes_
           
protected  Vector namespaceURI_
           
protected  NodeList nodesToEmbed_
           
protected  Vector references_
           
protected  String xPathExpression_
           
 
Constructor Summary
SingleSignatureInfoImpl()
           
 
Method Summary
 void addDocumentToEmbedNamespace(String prefix, String uri)
           
 void addReference(SignReference reference)
           
 void setDocumentToEmbed(Element element)
           
 void setDocumentToEmbed(Element doc, String xPath, int position)
           
 void setDocumentToEmbed(NodeList list)
           
 void setDocumentToEmbedBase64(byte[] document)
           
 void setDocumentToEmbedLocRefContent(String location)
           
 void setEnvironmentReference(String reference)
           
 void setIsSecurityLayerConform(boolean isConform)
           
 void setReferences(SignReference[] references)
           
 void setSignatureLocation(String xpath, int position)
           
 Element toElement(Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

references_

protected Vector references_

isSecurityLayerConform_

protected boolean isSecurityLayerConform_

docToEmbed_

protected Element docToEmbed_

docToEmbedBase64_

protected byte[] docToEmbedBase64_

nodesToEmbed_

protected NodeList nodesToEmbed_

locRefContent_

protected String locRefContent_

environmentReference_

protected String environmentReference_

xPathExpression_

protected String xPathExpression_

location_

protected int location_

namespacePrefixes_

protected Vector namespacePrefixes_

namespaceURI_

protected Vector namespaceURI_
Constructor Detail

SingleSignatureInfoImpl

public SingleSignatureInfoImpl()
Method Detail

setReferences

public void setReferences(SignReference[] references)
Specified by:
setReferences in interface SingleSignatureInfo

setIsSecurityLayerConform

public void setIsSecurityLayerConform(boolean isConform)
Specified by:
setIsSecurityLayerConform in interface SingleSignatureInfo

setDocumentToEmbed

public void setDocumentToEmbed(Element doc,
                               String xPath,
                               int position)
Specified by:
setDocumentToEmbed in interface SingleSignatureInfo

toElement

public Element toElement(Document doc)
                  throws ClientException
Specified by:
toElement in interface SingleSignatureInfo
Throws:
ClientException

addReference

public void addReference(SignReference reference)
Specified by:
addReference in interface SingleSignatureInfo

addDocumentToEmbedNamespace

public void addDocumentToEmbedNamespace(String prefix,
                                        String uri)
Specified by:
addDocumentToEmbedNamespace in interface SingleSignatureInfo

setEnvironmentReference

public void setEnvironmentReference(String reference)
Specified by:
setEnvironmentReference in interface SingleSignatureInfo

setDocumentToEmbed

public void setDocumentToEmbed(Element element)
Specified by:
setDocumentToEmbed in interface SingleSignatureInfo

setDocumentToEmbedBase64

public void setDocumentToEmbedBase64(byte[] document)
Specified by:
setDocumentToEmbedBase64 in interface SingleSignatureInfo

setDocumentToEmbedLocRefContent

public void setDocumentToEmbedLocRefContent(String location)
Specified by:
setDocumentToEmbedLocRefContent in interface SingleSignatureInfo

setSignatureLocation

public void setSignatureLocation(String xpath,
                                 int position)
Specified by:
setSignatureLocation in interface SingleSignatureInfo

setDocumentToEmbed

public void setDocumentToEmbed(NodeList list)
Specified by:
setDocumentToEmbed in interface SingleSignatureInfo


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.