public class CompleteRevocationRefs extends XAdESBaseElement implements UnsignedSignaturePropertyElement
Currently two major types of revocation data are managed in most of the systems, namely CRLs and responses of on-line certificate status servers, obtained through protocols designed for these purposes, like OCSP protocol.
This clause defines the CompleteRevocationRefs element that
will carry the full set of revocation information used for the validation
of the electronic signature.
This is an optional unsigned property that qualifies the signature.
There SHALL be at most one occurence of this property in the signature. This occurrence SHALL NOT be empty.
Below follows the Schema definition for this element.
<xsd:element name="CompleteRevocationRefs" type="CompleteRevocationRefsType"/>
<xsd:complexType name="CompleteRevocationRefsType">
<xsd:sequence>
<xsd:element name="CRLRefs" type="CRLRefsType" minOccurs="0"/>
<xsd:element name="OCSPRefs" type="OCSPRefsType" minOccurs="0"/>
<xsd:element name="OtherRefs" type="OtherCertStatusRefsType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
</xsd:complexType>
<xsd:complexType name="CRLRefsType">
<xsd:sequence>
<xsd:element name="CRLRef" type="CRLRefType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OCSPRefsType">
<xsd:sequence>
<xsd:element name="OCSPRef" type="OCSPRefType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OtherCertStatusRefsType">
<xsd:sequence>
<xsd:element name="OtherRef" type="AnyType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
The CompleteRevocationRefs element can contain:
mContext, mElement, mId| Constructor and Description |
|---|
CompleteRevocationRefs(Context aContext) |
CompleteRevocationRefs(org.w3c.dom.Element aElement,
Context aContext)
Construct XADESBaseElement from existing
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCRLReference(CRLReference aCRLReference) |
void |
addOCSPReference(OCSPReference aOCSPReference) |
void |
addOtherCertStatusReference(OtherCertStatusReference aOtherReference) |
CRLReference |
getCRLReference(int aIndex) |
int |
getCRLReferenceCount() |
java.lang.String |
getLocalName() |
OCSPReference |
getOCSPReference(int aIndex) |
int |
getOCSPReferenceCount() |
OtherCertStatusReference |
getOtherCertStatusReference(int aIndex) |
int |
getOtherCertStatusReferenceCount() |
getNamespaceaddBigIntegerElement, addLineBreak, addLineBreak, checkNamespace, createElement, generateAndSetId, getAttribute, getBigIntegerFromElement, getChildText, getContext, getDocument, getElement, getId, insertBase64EncodedElement, insertElement, insertTextElement, selectChildElement, selectChildren, setIdpublic CompleteRevocationRefs(Context aContext)
public CompleteRevocationRefs(org.w3c.dom.Element aElement,
Context aContext)
throws XMLSignatureException
aElement - xml elementaContext - according to contextXMLSignatureException - when structure is invalid or can not be
resolved appropriatelypublic int getCRLReferenceCount()
public int getOCSPReferenceCount()
public int getOtherCertStatusReferenceCount()
public CRLReference getCRLReference(int aIndex)
public OCSPReference getOCSPReference(int aIndex)
public OtherCertStatusReference getOtherCertStatusReference(int aIndex)
public void addCRLReference(CRLReference aCRLReference)
public void addOCSPReference(OCSPReference aOCSPReference)
public void addOtherCertStatusReference(OtherCertStatusReference aOtherReference)
public java.lang.String getLocalName()
getLocalName in class BaseElementCopyright © 2025. All rights reserved.