xades4j.properties
Class SignerRoleProperty
java.lang.Object
xades4j.properties.SignatureProperty
xades4j.properties.SignedSignatureProperty
xades4j.properties.SignerRoleProperty
- All Implemented Interfaces:
- QualifyingProperty
public final class SignerRoleProperty
- extends SignedSignatureProperty
Represents the SingerRole signed signature property. A XAdES signature
has at most one SingerRole property.
This property is added to the signature through SignaturePropertiesProvider.
Limitation: only claimed roles are supported.
- Author:
- Luís
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_NAME
public static final String PROP_NAME
- See Also:
- Constant Field Values
SignerRoleProperty
public SignerRoleProperty()
SignerRoleProperty
public SignerRoleProperty(String... claimedRoles)
SignerRoleProperty
public SignerRoleProperty(Collection<String> claimedRoles)
withClaimedRole
public SignerRoleProperty withClaimedRole(String role)
getClaimedRoles
public Collection<String> getClaimedRoles()
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.