public class SignerRoleV2Impl extends XadesDOMStructure implements SignerRoleV2
SignerRoleV2
property that supports the
DOM XML processing and representation mechanism.Modifier and Type | Field and Description |
---|---|
protected CertifiedRolesV2Impl |
certifiedRoles_ |
protected ClaimedRolesImpl |
claimedRoles_ |
protected SignedAssertionsImpl |
signedAssertions_ |
implMap_, state_, STATE_CREATED, STATE_MARSHALED, STATE_UNINITIALIZED, STATE_UNMARSHALED
LOCAL_NAME
Constructor and Description |
---|
SignerRoleV2Impl(DOMCryptoContext context,
Node node)
Creates a new instance of this
SignerRoleV2Impl with the given
context and node. |
SignerRoleV2Impl(List claimedRoles,
List certifiedRoles,
List signedAssertions)
Creates a new instance of this
SignerRoleV2Impl with the given
claimed roles, certified roles and/or signed assertions. |
Modifier and Type | Method and Description |
---|---|
List |
getCertifiedRoles()
Returns the list of certified roles.
|
protected List |
getChildStructures() |
List |
getClaimedRoles()
Returns the list of claimed roles.
|
String |
getLocalName() |
List |
getSignedAssertions()
A list of signed assertions.
|
protected void |
putChildStructure(iaik.xml.crypto.dom.DOMStructure childStructure) |
getInstance, getNamespace, getParentQualifyingPropertiesOf, getParentSignatureOf
addBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructureVersion, getHere, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, marshalAttributes, marshalElement, marshalIDAttribute, newIDforLookUp, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalAttributes, unmarshalElement, unmarshalIDAttribute, unmarshalStructures, wrapNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFeatureSupported
protected CertifiedRolesV2Impl certifiedRoles_
protected ClaimedRolesImpl claimedRoles_
protected SignedAssertionsImpl signedAssertions_
public SignerRoleV2Impl(DOMCryptoContext context, Node node) throws MarshalException
SignerRoleV2Impl
with the given
context and node.context
- the contextnode
- the node to unmarshal fromMarshalException
- if an exception occurs while marshalingpublic SignerRoleV2Impl(List claimedRoles, List certifiedRoles, List signedAssertions)
SignerRoleV2Impl
with the given
claimed roles, certified roles and/or signed assertions.claimedRoles
- A list of claimed roles
.certifiedRoles
- A list of certified roles
.signedAssertions
- A list of signed assertions
.IllegalArgumentException
- If claimedRoles
, certifiedRules
and signedAssertions
are all null
or empty
.public List getClaimedRoles()
SignerRoleV2
getClaimedRoles
in interface SignerRoleV2
ClaimedRole
sSignerRoleV2.getClaimedRoles()
public List getCertifiedRoles()
SignerRoleV2
getCertifiedRoles
in interface SignerRoleV2
CertifiedRoleV2
sSignerRoleV2.getCertifiedRoles()
public List getSignedAssertions()
SignerRoleV2
getSignedAssertions
in interface SignerRoleV2
SignedAssertion
s.SignerRoleV2.getSignedAssertions()
public String getLocalName()
getLocalName
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getLocalName()
protected List getChildStructures()
getChildStructures
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getChildStructures()
protected void putChildStructure(iaik.xml.crypto.dom.DOMStructure childStructure) throws MarshalException
putChildStructure
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.putChildStructure(DOMStructure)
© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC