xades4j.properties
Class SignaturePolicyBase

java.lang.Object
  extended by xades4j.properties.SignatureProperty
      extended by xades4j.properties.SignedSignatureProperty
          extended by xades4j.properties.SignaturePolicyBase
All Implemented Interfaces:
QualifyingProperty
Direct Known Subclasses:
SignaturePolicyIdentifierProperty, SignaturePolicyImpliedProperty

public abstract class SignaturePolicyBase
extends SignedSignatureProperty

Base class for the SignaturePolicyIdentifier property. The signature policy identifier is a signed property qualifying the signature. At most one SignaturePolicyIdentifier element may be present in the signature.

Although there is only one XML element indicating if the signature policiy is explicit or implied, two different classes exist to represent those situations.

This property cannot be supplied directly. It is enforced by the XadesSigner producing a XAdES-EPES.

Author:
Luís
See Also:
SignaturePolicyImpliedProperty, SignaturePolicyIdentifierProperty

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
SignaturePolicyBase()
           
 
Method Summary
 String getName()
          Gets the name of the property, as specified in XAdES (the element name).
 
Methods inherited from class xades4j.properties.SignedSignatureProperty
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

SignaturePolicyBase

public SignaturePolicyBase()
Method Detail

getName

public final 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.