Module org.apache.santuario.xmlsec
Class KeyDerivationMethodImpl
- java.lang.Object
-
- org.apache.xml.security.utils.ElementProxy
-
- org.apache.xml.security.utils.Encryption11ElementProxy
-
- org.apache.xml.security.encryption.keys.content.derivedKey.KeyDerivationMethodImpl
-
- All Implemented Interfaces:
KeyDerivationMethod
public class KeyDerivationMethodImpl extends Encryption11ElementProxy implements KeyDerivationMethod
Class KeyDerivationMethodImpl is an DOM implementation of the KeyDerivationMethod
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
-
Constructor Summary
Constructors Constructor Description KeyDerivationMethodImpl(Document doc)Constructor KeyDerivationMethodImpl creates a new KeyDerivationMethodImpl instance.KeyDerivationMethodImpl(Element element, String baseURI)Constructor KeyDerivationMethodImpl from existing XML element
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()Returns the algorithm URI of thisKeyDerivationMethod.StringgetBaseLocalName()Returns the localname of the Elements of the sub-class.ConcatKDFParamsImplgetConcatKDFParams()voidsetAlgorithm(String algorithm)Sets theAlgorithmattributevoidsetConcatKDFParams(ConcatKDFParamsImpl concatKDFParams)StringtoString()-
Methods inherited from class org.apache.xml.security.utils.Encryption11ElementProxy
getBaseNamespace
-
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
-
-
-
-
Constructor Detail
-
KeyDerivationMethodImpl
public KeyDerivationMethodImpl(Document doc)
Constructor KeyDerivationMethodImpl creates a new KeyDerivationMethodImpl instance.- Parameters:
doc- the Document in which to create the DOM tree
-
KeyDerivationMethodImpl
public KeyDerivationMethodImpl(Element element, String baseURI) throws XMLSecurityException
Constructor KeyDerivationMethodImpl from existing XML element- Parameters:
element- the element to use as sourcebaseURI- the URI of the resource where the XML instance was stored- Throws:
XMLSecurityException- if a parsing error occurs
-
-
Method Detail
-
setAlgorithm
public void setAlgorithm(String algorithm)
Sets theAlgorithmattribute- Parameters:
algorithm- ID
-
getAlgorithm
public String getAlgorithm()
Description copied from interface:KeyDerivationMethodReturns the algorithm URI of thisKeyDerivationMethod.- Specified by:
getAlgorithmin interfaceKeyDerivationMethod- Returns:
- the algorithm URI of this
KeyDerivationMethod
-
getConcatKDFParams
public ConcatKDFParamsImpl getConcatKDFParams() throws XMLSecurityException
- Throws:
XMLSecurityException
-
setConcatKDFParams
public void setConcatKDFParams(ConcatKDFParamsImpl concatKDFParams)
-
getBaseLocalName
public String getBaseLocalName()
Description copied from class:ElementProxyReturns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-
-