public interface RevocationValues extends XMLStructure
RevocationValues
element as defined in
ETSI TS 101 933 v1.3.2.
<xsd:element name="RevocationValues" type="RevocationValuesType"/> <xsd:complexType name="RevocationValuesType"> <xsd:sequence> <xsd:element name="CRLValues" type="CRLValuesType" minOccurs="0"/> <xsd:element name="OCSPValues" type="OCSPValuesType" minOccurs="0"/> <xsd:element name="OtherValues" type="OtherCertStatusValuesType" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="Id" type="xsd:ID" use="optional"/> </xsd:complexType> <xsd:complexType name="CRLValuesType"> <xsd:sequence> <xsd:element name="EncapsulatedCRLValue" type="EncapsulatedPKIDataType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="OCSPValuesType"> <xsd:sequence> <xsd:element name="EncapsulatedOCSPValue" type="EncapsulatedPKIDataType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="OtherCertStatusValuesType"> <xsd:sequence> <xsd:element name="OtherValue" type="AnyType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>A
RevocationValues
property may be created invoking the
newRevocationValues
method of the
QualifyingPropertiesFactory
class; for example:
QualifyingPropertiesFactory qfac = QualifyingPropertiesFactory.getInstance("DOM"); List crlValues = new ArrayList(); List ocspValues = new ArrayList(); Iterator crls = crlList.iterator(); while (crls.hasNext()) { X509CRL crl = (X509CRL) crls.next(); EncapsulatedCRLValue crlValue = qfac.newEncapsulatedCRLValue(crl, null, null); crlValues.add(crlValue); } Iterator ocsps = ocspList.iterator(); while (ocsps.hasNext()) { OCSPResponse resp = (OCSPResponse) ocsps.next(); EncapsulatedOCSPValue ocspValue = qfac.newEncapsulatedOCSPValue(resp.getEncoded(), null, null); ocspValues.add(ocspValue); } RevocationValues rv = qfac.newRevocationValues(crlValues, ocspValues, null, "RevocationValues");
Modifier and Type | Field and Description |
---|---|
static String |
LOCAL_NAME
The local name of this element.
|
Modifier and Type | Method and Description |
---|---|
List |
getCRLValues()
Returns the CRL values.
|
String |
getId()
Returns the
id -attribute value. |
List |
getOCSPValues()
Returns the OCSP values.
|
List |
getOtherValues()
Returns the other certificate status values.
|
isFeatureSupported
static final String LOCAL_NAME
String getId()
id
-attribute value.id
-attribute valueList getCRLValues()
EncapsulatedCRLValue
sList getOCSPValues()
EncapsulatedOCSPValue
sList getOtherValues()
OtherValue
s© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC