Class PBKDF2ParamsImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.encryption.impl.PBKDF2ParamsImpl
- All Implemented Interfaces:
XMLObject
,PBKDF2Params
public class PBKDF2ParamsImpl extends AbstractXMLObject implements PBKDF2Params
Concrete implementation of
PBKDF2Params
.-
Field Summary
Fields Modifier and Type Field Description private IterationCount
iterationCount
IterationCount child element.private KeyLength
keyLength
KeyLength child element.private PRF
prf
PRF child element.private Salt
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
Constructors Modifier Constructor Description protected
PBKDF2ParamsImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor. -
Method Summary
Modifier and Type Method Description IterationCount
getIterationCount()
Get the IterationCount child element.KeyLength
getKeyLength()
Get the KeyLength child element.List<XMLObject>
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.PRF
getPRF()
Get the PRF child element.Salt
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
setPRF(PRF newPRF)
Set the PRF child element.void
setSalt(Salt newSalt)
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
-