public class XmlSignatureSupport extends Object
| Constructor and Description |
|---|
XmlSignatureSupport(X509Support x509Support)
Constructor for XmlSignatureSupport.
|
| Modifier and Type | Method and Description |
|---|---|
Document |
getOriginalDocument(Document signedDocument)
getOriginalDocument
|
Node |
getOriginalNode(Document signedDocument)
Returns the node that is the root node of the original signedDocument
|
boolean |
hasValidSignature(Document doc)
hasValidSignature
|
Document |
sign(Document xmlDocument)
sign
|
public XmlSignatureSupport(X509Support x509Support)
Constructor for XmlSignatureSupport.
x509Support - a X509Support object.public Document sign(Document xmlDocument)
sign
xmlDocument - a Document object.public boolean hasValidSignature(Document doc) throws Exception
hasValidSignature
doc - a Document object.Exception - if any.public Node getOriginalNode(Document signedDocument)
signedDocument - the signed signedDocumentCopyright © 2007–2014 cedarsoft GmbH. All rights reserved.