|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.keys.RSAKeyValue
public class RSAKeyValue
XML-DSIG KeyValue class for RSA public keys.
A RSAKeyValue consists of an RSA modulus and public exponent.
| Field Summary |
|---|
| Fields inherited from class oracle.security.xmlsec.util.XMLNode |
|---|
node, systemId |
| Constructor Summary | |
|---|---|
RSAKeyValue(org.w3c.dom.Element element)Creates a new RSAKeyValue instance from the given Element node. |
|
RSAKeyValue(org.w3c.dom.Element element, java.lang.String systemId)Creates a new RSAKeyValue instance from the given Element node. |
|
| Method Summary | |
|---|---|
java.math.BigInteger |
getExponent()Returns the public exponent of this RSAKeyValue. |
java.math.BigInteger |
getModulus()Returns the modulus of this RSAKeyValue. |
java.security.PublicKey |
getPublicKey()Returns a oracle.security.crypto.core.PublicKey. |
java.lang.String |
getType()Returns a URI identifying the type of KeyValue. |
void |
setExponent(java.math.BigInteger exponent)Sets the Exponent element of this RSAKeyValue, replacing any existing Exponent element. |
void |
setModulus(java.math.BigInteger modulus)Sets the Modulus element of this RSAKeyValue, replacing any existing Modulus element. |
| Methods inherited from class oracle.security.xmlsec.util.XMLNode |
|---|
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RSAKeyValue(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
RSAKeyValue instance from the given Element node.
element - An Element node in the XML document that conforms to the XML-DSIG RSAKeyValue schema.org.w3c.dom.DOMException
public RSAKeyValue(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
RSAKeyValue instance from the given Element node.
element - An Element node in the XML document that conforms to the XML-DSIG RSAKeyValue schema.systemId - The URI string system ID for this element.org.w3c.dom.DOMExceptionXMLNode.setSystemId(java.lang.String)| Method Detail |
|---|
public void setModulus(java.math.BigInteger modulus)
throws org.w3c.dom.DOMException
RSAKeyValue, replacing any existing Modulus element.modulus - The modulus of the RSA public key.org.w3c.dom.DOMExceptionpublic java.math.BigInteger getModulus()
RSAKeyValue.
public void setExponent(java.math.BigInteger exponent)
throws org.w3c.dom.DOMException
RSAKeyValue, replacing any existing Exponent element.exponent - The public exponent of the RSA public key.org.w3c.dom.DOMExceptionpublic java.math.BigInteger getExponent()
RSAKeyValue.public java.security.PublicKey getPublicKey()
KeyValueDataoracle.security.crypto.core.PublicKey.getPublicKey in interface KeyValueDatapublic java.lang.String getType()
KeyValueDataInterface XMLURI contains the KeyInfo data type URIs for public key value elements defined in the XML Signature and XML Encryption namespaces, including:
XMLURI.obj_DHKeyValueXMLURI.obj_DSAKeyValueXMLURI.obj_RSAKeyValuegetType in interface KeyValueData
|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||