Class PBKDF2ParamsImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.encryption.impl.PBKDF2ParamsImpl
- All Implemented Interfaces:
XMLObject
,PBKDF2Params
Concrete implementation of
PBKDF2Params
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IterationCount
IterationCount child element.private KeyLength
KeyLength child element.private PRF
PRF child element.private Salt
Salt child element.Fields inherited from interface org.opensaml.xmlsec.encryption.PBKDF2Params
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PBKDF2ParamsImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the IterationCount child element.Get the KeyLength child element.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.getPRF()
Get the PRF child element.getSalt()
Get the Salt child element.void
setIterationCount
(IterationCount count) Set the IterationCount child element.void
setKeyLength
(KeyLength length) Set the KeyLength child element.void
Set the PRF child element.void
Set the Salt child element.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
-
salt
Salt child element. -
iterationCount
IterationCount child element. -
keyLength
KeyLength child element. -
prf
PRF child element.
-
-
Constructor Details
-
PBKDF2ParamsImpl
Constructor.- Parameters:
namespaceURI
- namespace URIelementLocalName
- local namenamespacePrefix
- namespace prefix
-
-
Method Details
-
getSalt
Get the Salt child element.- Specified by:
getSalt
in interfacePBKDF2Params
- Returns:
- the element
-
setSalt
Set the Salt child element.- Specified by:
setSalt
in interfacePBKDF2Params
- Parameters:
newSalt
- the salt
-
getIterationCount
Get the IterationCount child element.- Specified by:
getIterationCount
in interfacePBKDF2Params
- Returns:
- the element
-
setIterationCount
Set the IterationCount child element.- Specified by:
setIterationCount
in interfacePBKDF2Params
- Parameters:
count
- the new iteration count
-
getKeyLength
Get the KeyLength child element.- Specified by:
getKeyLength
in interfacePBKDF2Params
- Returns:
- the element
-
setKeyLength
Set the KeyLength child element.- Specified by:
setKeyLength
in interfacePBKDF2Params
- Parameters:
length
- the new key length
-
getPRF
Get the PRF child element.- Specified by:
getPRF
in interfacePBKDF2Params
- Returns:
- the element
-
setPRF
Set the PRF child element.- Specified by:
setPRF
in interfacePBKDF2Params
- Parameters:
newPRF
- the new PRF element
-
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
-