public interface SignerRole extends XMLStructure
SignerRole element as defined in ETSI TS
101 933 v1.3.2.
<xsd:element name="SignerRole" type="SignerRoleType"/>
<xsd:complexType name="SignerRoleType">
<xsd:sequence>
<xsd:element name="ClaimedRoles" type="ClaimedRolesListType" minOccurs="0"/>
<xsd:element name="CertifiedRoles" type="CertifiedRolesListType" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ClaimedRolesListType">
<xsd:sequence>
<xsd:element name="ClaimedRole" type="AnyType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CertifiedRolesListType">
<xsd:sequence>
<xsd:element name="CertifiedRole" type="EncapsulatedPKIDataType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
SignerRole property may be created by invoking the
newSignerRole method of the
QualifyingPropertiesFactory class; for example:
QualifyingPropertiesFactory qfac = QualifyingPropertiesFactory.getInstance("DOM");
// Create a claimed role
DOMStructure ts = new DOMStructure(doc.createTextNode("chief executive officer"));
ClaimedRole clr = qfac.newClaimedRole(Collections.singletonList(ts));
// Create a certified role
CertifiedRole cfr = qfac.newCertifiedRole(attrCert.getEncoded());
SignerRole sr = qfac.newSignerRole(Collections.singletonList(clr),
Collections.singletonList(cfr));
| Modifier and Type | Method and Description |
|---|---|
List |
getCertifiedRoles()
Returns the list of certified roles.
|
List |
getClaimedRoles()
Returns the list of claimed roles.
|
isFeatureSupportedList getClaimedRoles()
ClaimedRolesList getCertifiedRoles()
CertifiedRoles© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC