Class SessionKeyImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.ext.samlec.impl.SessionKeyImpl
- All Implemented Interfaces:
XMLObject
,SAMLObject
,SessionKey
,ActorBearing
,MustUnderstandBearing
Concrete implementation of
SessionKey
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Algorithm attribute.private XMLObjectChildrenList<EncType>
EncType children.private KeyInfo
KeyInfo child.private String
soap11:actor attribute.private XSBooleanValue
soap11:mustUnderstand.Fields inherited from interface org.opensaml.soap.soap11.ActorBearing
SOAP11_ACTOR_ATTR_LOCAL_NAME, SOAP11_ACTOR_ATTR_NAME, SOAP11_ACTOR_NEXT
Fields inherited from interface org.opensaml.soap.soap11.MustUnderstandBearing
SOAP11_MUST_UNDERSTAND_ATTR_LOCAL_NAME, SOAP11_MUST_UNDERSTAND_ATTR_NAME
Fields inherited from interface org.opensaml.saml.ext.samlec.SessionKey
ALGORITHM_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SessionKeyImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the session key derivation algorithm.Get the session key encryption typed.Get the KeyInfo object that describes the session key.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Get the attribute value.Get the attribute value.Get the attribute value.void
setAlgorithm
(String newAlgorithm) Set the session key derivation algorithm.void
setKeyInfo
(KeyInfo newKeyInfo) Set the KeyInfo object that describes the session key.void
setSOAP11Actor
(String newActor) Set the attribute value.void
setSOAP11MustUnderstand
(Boolean newMustUnderstand) Set the attribute value.void
setSOAP11MustUnderstand
(XSBooleanValue newMustUnderstand) Set the attribute value.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
soap11Actor
soap11:actor attribute. -
soap11MustUnderstand
soap11:mustUnderstand. -
algorithm
Algorithm attribute. -
encTypes
EncType children. -
keyInfo
KeyInfo child.
-
-
Constructor Details
-
SessionKeyImpl
Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Details
-
isSOAP11MustUnderstand
Get the attribute value.- Specified by:
isSOAP11MustUnderstand
in interfaceMustUnderstandBearing
- Returns:
- return the attribute vlue
-
isSOAP11MustUnderstandXSBoolean
Get the attribute value.- Specified by:
isSOAP11MustUnderstandXSBoolean
in interfaceMustUnderstandBearing
- Returns:
- return the attribute vlue
-
setSOAP11MustUnderstand
Set the attribute value.- Specified by:
setSOAP11MustUnderstand
in interfaceMustUnderstandBearing
- Parameters:
newMustUnderstand
- the new attribute value
-
setSOAP11MustUnderstand
Set the attribute value.- Specified by:
setSOAP11MustUnderstand
in interfaceMustUnderstandBearing
- Parameters:
newMustUnderstand
- the new attribute value
-
getSOAP11Actor
Get the attribute value.- Specified by:
getSOAP11Actor
in interfaceActorBearing
- Returns:
- return the attribute vlue
-
setSOAP11Actor
Set the attribute value.- Specified by:
setSOAP11Actor
in interfaceActorBearing
- Parameters:
newActor
- the new attribute value
-
getAlgorithm
Get the session key derivation algorithm.- Specified by:
getAlgorithm
in interfaceSessionKey
- Returns:
- the algorithm used to derive the session key
-
setAlgorithm
Set the session key derivation algorithm.- Specified by:
setAlgorithm
in interfaceSessionKey
- Parameters:
newAlgorithm
- the algorithm used to derive the session key
-
getEncTypes
Get the session key encryption typed.- Specified by:
getEncTypes
in interfaceSessionKey
- Returns:
- the encryption types of the session key
-
getKeyInfo
Get the KeyInfo object that describes the session key.- Specified by:
getKeyInfo
in interfaceSessionKey
- Returns:
- the KeyInfo object that describes the session key
-
setKeyInfo
Set the KeyInfo object that describes the session key.- Specified by:
setKeyInfo
in interfaceSessionKey
- Parameters:
newKeyInfo
- the KeyInfo object that describes the session key
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-