xades4j.properties
Class CompleteRevocationRefsProperty

java.lang.Object
  extended by xades4j.properties.SignatureProperty
      extended by xades4j.properties.UnsignedSignatureProperty
          extended by xades4j.properties.CompleteRevocationRefsProperty
All Implemented Interfaces:
QualifyingProperty

public class CompleteRevocationRefsProperty
extends UnsignedSignatureProperty

The property contains a sequence of references to the full set of revocation data that have been used in the validation of the signer and CA certificates.

This is an optional unsigned property that qualifies the signature. There is at most one occurence of this property in the signature.

This property is not used directly when producing a signature. Instead, it is enforced by the XadesSigner producing a XAdES-C.

Only CRLs are supported.

Author:
Luís

Field Summary
static String PROP_NAME
           
 
Fields inherited from interface xades4j.properties.QualifyingProperty
QUALIFYING_PROPS_REF_TAG, QUALIFYING_PROPS_TAG, SIGNED_DATAOBJ_PROPS_TAG, SIGNED_PROPS_TAG, SIGNED_PROPS_TYPE_URI, SIGNED_SIGNATURE_PROPS_TAG, TARGET_ATTR, UNSIGNED_DATAOBJ_PROPS_TAG, UNSIGNED_PROPS_TAG, UNSIGNED_SIGNATURE_PROPS_TAG, XADES_XMLNS, XADESV141_XMLNS
 
Constructor Summary
CompleteRevocationRefsProperty(Collection<X509CRL> crls)
          Creates an instance of the property that will result in CRL references for crls.
 
Method Summary
 Collection<X509CRL> getCrls()
           
 String getName()
          Gets the name of the property, as specified in XAdES (the element name).
 
Methods inherited from class xades4j.properties.UnsignedSignatureProperty
isSigned
 
Methods inherited from class xades4j.properties.SignatureProperty
isSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_NAME

public static final String PROP_NAME
See Also:
Constant Field Values
Constructor Detail

CompleteRevocationRefsProperty

public CompleteRevocationRefsProperty(Collection<X509CRL> crls)
Creates an instance of the property that will result in CRL references for crls.

Parameters:
crls - the set of CRLs that will have references on the property
Throws:
NullPointerException - if crls is null
Method Detail

getCrls

public Collection<X509CRL> getCrls()

getName

public String getName()
Description copied from interface: QualifyingProperty
Gets the name of the property, as specified in XAdES (the element name).

Returns:
the name


Copyright © 2012. All Rights Reserved.