public class KeyDerivationMethodImpl extends Encryption11ElementProxy implements KeyDerivationMethod
baseURI| Constructor and Description |
|---|
KeyDerivationMethodImpl(Document doc)
Constructor KeyDerivationMethodImpl creates a new KeyDerivationMethodImpl instance.
|
KeyDerivationMethodImpl(Element element,
String baseURI)
Constructor KeyDerivationMethodImpl from existing XML element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm()
Returns the algorithm URI of this
KeyDerivationMethod. |
String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class.
|
KDFParams |
getKDFParams()
Method returns the KDFParams object of this KeyDerivationMethod Element.
|
void |
setAlgorithm(String algorithm)
Sets the
Algorithm attribute. |
void |
setKDFParams(KDFParams kdfParams) |
String |
toString() |
getBaseNamespaceaddBase64Element, 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, setXPathNamespaceContextpublic KeyDerivationMethodImpl(Document doc)
doc - the Document in which to create the DOM treepublic KeyDerivationMethodImpl(Element element, String baseURI) throws XMLSecurityException
element - the element to use as sourcebaseURI - the URI of the resource where the XML instance was storedXMLSecurityException - if a parsing error occurspublic void setAlgorithm(String algorithm)
Algorithm attribute.algorithm - URIpublic String getAlgorithm()
KeyDerivationMethodKeyDerivationMethod.getAlgorithm in interface KeyDerivationMethodpublic KDFParams getKDFParams() throws XMLSecurityException
getKDFParams in interface KeyDerivationMethodXMLSecurityException - if the KDFParams cannot be created or the KDF URI is not supported.public void setKDFParams(KDFParams kdfParams)
public String getBaseLocalName()
ElementProxygetBaseLocalName in class ElementProxyCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.