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 StringAlgorithm attribute.private final XMLObjectChildrenList<EncType>EncType children.private KeyInfoKeyInfo child.private Stringsoap11:actor attribute.private XSBooleanValuesoap11:mustUnderstand.Fields inherited from interface org.opensaml.soap.soap11.ActorBearing
SOAP11_ACTOR_ATTR_LOCAL_NAME, SOAP11_ACTOR_ATTR_NAME, SOAP11_ACTOR_NEXTFields inherited from interface org.opensaml.soap.soap11.MustUnderstandBearing
SOAP11_MUST_UNDERSTAND_ATTR_LOCAL_NAME, SOAP11_MUST_UNDERSTAND_ATTR_NAMEFields 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
ConstructorsModifierConstructorDescriptionprotectedSessionKeyImpl(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.voidsetAlgorithm(String newAlgorithm) Set the session key derivation algorithm.voidsetKeyInfo(KeyInfo newKeyInfo) Set the KeyInfo object that describes the session key.voidsetSOAP11Actor(String newActor) Set the attribute value.voidsetSOAP11MustUnderstand(Boolean newMustUnderstand) Set the attribute value.voidsetSOAP11MustUnderstand(XSBooleanValue newMustUnderstand) Set the attribute value.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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
protected SessionKeyImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) 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:
isSOAP11MustUnderstandin interfaceMustUnderstandBearing- Returns:
- return the attribute vlue
-
isSOAP11MustUnderstandXSBoolean
Get the attribute value.- Specified by:
isSOAP11MustUnderstandXSBooleanin interfaceMustUnderstandBearing- Returns:
- return the attribute vlue
-
setSOAP11MustUnderstand
Set the attribute value.- Specified by:
setSOAP11MustUnderstandin interfaceMustUnderstandBearing- Parameters:
newMustUnderstand- the new attribute value
-
setSOAP11MustUnderstand
Set the attribute value.- Specified by:
setSOAP11MustUnderstandin interfaceMustUnderstandBearing- Parameters:
newMustUnderstand- the new attribute value
-
getSOAP11Actor
Get the attribute value.- Specified by:
getSOAP11Actorin interfaceActorBearing- Returns:
- return the attribute vlue
-
setSOAP11Actor
Set the attribute value.- Specified by:
setSOAP11Actorin interfaceActorBearing- Parameters:
newActor- the new attribute value
-
getAlgorithm
Get the session key derivation algorithm.- Specified by:
getAlgorithmin interfaceSessionKey- Returns:
- the algorithm used to derive the session key
-
setAlgorithm
Set the session key derivation algorithm.- Specified by:
setAlgorithmin interfaceSessionKey- Parameters:
newAlgorithm- the algorithm used to derive the session key
-
getEncTypes
Get the session key encryption typed.- Specified by:
getEncTypesin interfaceSessionKey- Returns:
- the encryption types of the session key
-
getKeyInfo
Get the KeyInfo object that describes the session key.- Specified by:
getKeyInfoin interfaceSessionKey- Returns:
- the KeyInfo object that describes the session key
-
setKeyInfo
Set the KeyInfo object that describes the session key.- Specified by:
setKeyInfoin 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:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-