public interface TimeStampValidationData extends XMLStructure
TimeStampValidationData
element as
defined in ETSI TS 101 933 v1.4.1 or v1.4.2 .
<xsd:element name="TimeStampValidationData" type="ValidationDataType"/> <xsd:complexType name="ValidationDataType"> <xsd:sequence> <xsd:element ref="xades:CertificateValues" minOccurs="0" /> <xsd:element ref="xades:RevocationValues" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="Id" type="xsd:ID" use="optional"/> <xsd:attribute name="UR" type="xsd:anyURI" use="optional"/> (XAdES 1.4.1) <xsd:attribute name="URI" type="xsd:anyURI" use="optional"/> (XAdES 1.4.2) </xsd:complexType>
A TimeStampValidationData
property may be created by invoking
the
QualifyingPropertiesFactory.newTimeStampValidationData(List, List, List, List, String, String)
method of the
QualifyingPropertiesFactory
class; for example:
QualifyingPropertiesFactory qfac = QualifyingPropertiesFactory.getInstance("DOM"); List encCerts = new ArrayList(); Iterator certs = certChain.iterator(); while (certs.hasNext()) { X509Certificate cert = (X509Certificate) certs.next(); EncapsulatedX509Certificate encCert = qfac.newEncapsulatedX509Certificate(cert, null, null); encCerts.add(encCert); } CertificateValues cv = qfac.newTimeStampValidationData(encCerts, "CertificateValues");
Modifier and Type | Field and Description |
---|---|
static String |
LOCAL_NAME
The local name of this element.
|
Modifier and Type | Method and Description |
---|---|
CertificateValues |
getCertificateValues()
Returns the list of certificates.
|
String |
getId()
Returns the
id -attribute value. |
RevocationValues |
getRevocationValues()
Returns the list of certificates.
|
String |
getURI()
Returns the
URI -attribute value. |
isFeatureSupported
static final String LOCAL_NAME
CertificateValues getCertificateValues()
CertificateValues
RevocationValues getRevocationValues()
RevocationValues
String getId()
id
-attribute value.id
-attribute valueString getURI()
URI
-attribute value.URI
-attribute value© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC