Class RSAKeyValue
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
org.apache.xml.security.keys.content.keyvalues.RSAKeyValue
- All Implemented Interfaces:
KeyValueContent
-
Field Summary
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
Constructor Summary
ConstructorsConstructorDescriptionRSAKeyValue
(Document doc, BigInteger modulus, BigInteger exponent) Constructor RSAKeyValueRSAKeyValue
(Document doc, Key key) Constructor RSAKeyValueRSAKeyValue
(Element element, String baseURI) Constructor RSAKeyValue -
Method Summary
Modifier and TypeMethodDescriptionReturns the localname of the Elements of the sub-class.Method getPublicKeyMethods inherited from class org.apache.xml.security.utils.SignatureElementProxy
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 Details
-
RSAKeyValue
Constructor RSAKeyValue- Parameters:
element
-baseURI
-- Throws:
XMLSecurityException
-
RSAKeyValue
Constructor RSAKeyValue- Parameters:
doc
-modulus
-exponent
-
-
RSAKeyValue
Constructor RSAKeyValue- Parameters:
doc
-key
-- Throws:
IllegalArgumentException
-
-
Method Details
-
getPublicKey
Method getPublicKey- Specified by:
getPublicKey
in interfaceKeyValueContent
- Returns:
- the public key
- Throws:
XMLSecurityException
-
getBaseLocalName
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalName
in classElementProxy
- Returns:
- the localname of the Elements of the sub-class.
-