public class SigningTimeImpl extends XadesDOMStructure implements SigningTime
SigningTime
property which supports the
DOM XML processing and representation mechanism.SignedProperties
Constructor and Description |
---|
SigningTimeImpl()
Default constructor.
|
SigningTimeImpl(Date time)
Sets the signing time to the given time.
|
SigningTimeImpl(DOMCryptoContext context,
Node node) |
Modifier and Type | Method and Description |
---|---|
Date |
getDate()
Returns the signing time.
|
String |
getLocalName() |
protected Element |
marshalElement(DOMCryptoContext context,
Node parent,
Node nextSibling) |
void |
setNow()
Sets the
signing time to the actual time. |
String |
toString() |
protected void |
unmarshalElement(DOMCryptoContext context,
Element element) |
getInstance, getNamespace, getParentQualifyingPropertiesOf, getParentSignatureOf
addBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructures, getChildStructureVersion, getHere, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, marshalAttributes, marshalIDAttribute, newIDforLookUp, putChildStructure, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, unmarshal, unmarshalAttributes, unmarshalIDAttribute, unmarshalStructures, wrapNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFeatureSupported
public SigningTimeImpl(DOMCryptoContext context, Node node) throws MarshalException
MarshalException
public SigningTimeImpl()
setNow()
.public SigningTimeImpl(Date time)
time
- The signing time.public Date getDate()
SigningTime
getDate
in interface SigningTime
SigningTime.getDate()
public String getLocalName()
getLocalName
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getLocalName()
public String toString()
toString
in class iaik.xml.crypto.dom.DOMStructure
Object.toString()
protected Element marshalElement(DOMCryptoContext context, Node parent, Node nextSibling) throws MarshalException
marshalElement
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.marshalElement(DOMCryptoContext,
Node, Node)
protected void unmarshalElement(DOMCryptoContext context, Element element) throws MarshalException
unmarshalElement
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.unmarshalElement(DOMCryptoContext,
org.w3c.dom.Element)
public void setNow()
signing time
to the actual time.© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC