public interface CertificateValues extends XMLStructure
CertificateValues
element as defined in
ETSI TS 101 933 v1.3.2.
<xsd:element name="CertificateValues" type="CertificateValuesType"/> <xsd:complexType name="CertificateValuesType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="EncapsulatedX509Certificate" type="EncapsulatedPKIDataType"/> <xsd:element name="OtherCertificate" type="AnyType"/> </xsd:choice> <xsd:attribute name="Id" type="xsd:ID" use="optional"/> </xsd:complexType>
A CertificateValues
property may be created by invoking the
newCertificateValues
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.newCertificateValues(encCerts, "CertificateValues");
Modifier and Type | Field and Description |
---|---|
static String |
LOCAL_NAME
The local name of this element.
|
Modifier and Type | Method and Description |
---|---|
List |
getCertificates()
Returns the list of certificates.
|
String |
getId()
Returns the
id -attribute value. |
isFeatureSupported
static final String LOCAL_NAME
List getCertificates()
EncapsulatedX509Certificate
s and
OtherCertificate
sString getId()
id
-attribute value.id
-attribute value© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC