public class TimeStampValidationDataImpl extends XadesDOMStructure implements TimeStampValidationData, DOMURIReference
implMap_, state_, STATE_CREATED, STATE_MARSHALED, STATE_UNINITIALIZED, STATE_UNMARSHALED
LOCAL_NAME
Constructor and Description |
---|
TimeStampValidationDataImpl(CertificateValues certificateValues,
RevocationValues revocationValues,
String uri,
String id)
Creates a new instance of this
TimeStampValidationDataImpl |
TimeStampValidationDataImpl(DOMCryptoContext context,
Node node)
Creates a new instance of this
TimeStampValidationDataImpl
with the given context and node. |
TimeStampValidationDataImpl(List certificates,
List crlValues,
List ocspValues,
List otherValues,
String uri,
String id)
Creates a new instance of this
TimeStampValidationDataImpl . |
Modifier and Type | Method and Description |
---|---|
CertificateValues |
getCertificateValues()
Returns the list of certificates.
|
protected List |
getChildStructures() |
Node |
getHere() |
String |
getId()
Returns the
id -attribute value. |
String |
getLocalName() |
String |
getNamespace()
Returns the namespace URI of the represented XML element.
|
RevocationValues |
getRevocationValues()
Returns the list of certificates.
|
String |
getType() |
String |
getURI()
Returns the
URI -attribute value. |
protected void |
marshalAttributes(DOMCryptoContext context,
Element parent)
Marshals the
URI attributes. |
protected Attr |
marshalIDAttribute(DOMCryptoContext context,
Element parent) |
protected void |
putChildStructure(iaik.xml.crypto.dom.DOMStructure childStructure) |
void |
setURI(String uri)
Sets the value of the target
XAdESTimeStamp using the given URI. |
String |
toString() |
protected void |
unmarshalAttributes(NamedNodeMap attributes,
DOMCryptoContext context) |
getInstance, getParentQualifyingPropertiesOf, getParentSignatureOf
addBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructureVersion, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, marshalElement, newIDforLookUp, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, unmarshal, unmarshalElement, unmarshalIDAttribute, unmarshalStructures, wrapNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFeatureSupported
public TimeStampValidationDataImpl(DOMCryptoContext context, Node node) throws MarshalException
TimeStampValidationDataImpl
with the given context and node.context
- the contextnode
- the node to unmarshal fromMarshalException
- if an exception occurs during unmarshalingpublic TimeStampValidationDataImpl(List certificates, List crlValues, List ocspValues, List otherValues, String uri, String id)
TimeStampValidationDataImpl
.public TimeStampValidationDataImpl(CertificateValues certificateValues, RevocationValues revocationValues, String uri, String id)
TimeStampValidationDataImpl
certificateValues
- revocationValues
- id
- uri
- public String getType()
getType
in interface URIReference
public Node getHere()
getHere
in interface DOMURIReference
getHere
in class iaik.xml.crypto.dom.DOMStructure
public String getLocalName()
getLocalName
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getLocalName()
public String getNamespace()
XadesDOMStructure
getNamespace
in class XadesDOMStructure
XadesDOMStructure.getNamespace()
public String getId()
TimeStampValidationData
id
-attribute value.getId
in interface TimeStampValidationData
id
-attribute valueTimeStampValidationData.getId()
public String getURI()
TimeStampValidationData
URI
-attribute value.getURI
in interface TimeStampValidationData
getURI
in interface URIReference
URI
-attribute valueTimeStampValidationData.getURI()
public CertificateValues getCertificateValues()
TimeStampValidationData
getCertificateValues
in interface TimeStampValidationData
CertificateValues
TimeStampValidationData.getCertificateValues()
public RevocationValues getRevocationValues()
TimeStampValidationData
getRevocationValues
in interface TimeStampValidationData
RevocationValues
TimeStampValidationData.getRevocationValues()
protected List getChildStructures()
getChildStructures
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getChildStructures()
protected void putChildStructure(iaik.xml.crypto.dom.DOMStructure childStructure) throws MarshalException
putChildStructure
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.putChildStructure(iaik.xml.crypto.dom.DOMStructure)
protected Attr marshalIDAttribute(DOMCryptoContext context, Element parent)
marshalIDAttribute
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.marshalIDAttribute(DOMCryptoContext,
Element)
protected void marshalAttributes(DOMCryptoContext context, Element parent) throws MarshalException
URI
attributes.marshalAttributes
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
protected void unmarshalAttributes(NamedNodeMap attributes, DOMCryptoContext context) throws MarshalException
unmarshalAttributes
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.unmarshalAttributes(org.w3c.dom.NamedNodeMap,
DOMCryptoContext)
public void setURI(String uri)
XAdESTimeStamp
using the given URI.uri
- the URI (must be a valid bare-name XPointer)IllegalArgumentException
- if uri
is not a valid bare-name XPointerpublic String toString()
toString
in class iaik.xml.crypto.dom.DOMStructure
Object.toString()
© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC