org.apache.xml.security.keys.content.keyvalues
Class RSAKeyValue

java.lang.Object
  extended by org.apache.xml.security.utils.ElementProxy
      extended by org.apache.xml.security.utils.SignatureElementProxy
          extended by org.apache.xml.security.keys.content.keyvalues.RSAKeyValue
All Implemented Interfaces:
KeyValueContent

public class RSAKeyValue
extends SignatureElementProxy
implements KeyValueContent


Field Summary
 
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, log
 
Constructor Summary
RSAKeyValue(Document doc, BigInteger modulus, BigInteger exponent)
          Constructor RSAKeyValue
RSAKeyValue(Document doc, Key key)
          Constructor RSAKeyValue
RSAKeyValue(Element element, String BaseURI)
          Constructor RSAKeyValue
 
Method Summary
 String getBaseLocalName()
          Returns the localname of the Elements of the sub-class.
 PublicKey getPublicKey()
          Method getPublicKey
 
Methods 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAKeyValue

public RSAKeyValue(Element element,
                   String BaseURI)
            throws XMLSecurityException
Constructor RSAKeyValue

Parameters:
element -
BaseURI -
Throws:
XMLSecurityException

RSAKeyValue

public RSAKeyValue(Document doc,
                   BigInteger modulus,
                   BigInteger exponent)
Constructor RSAKeyValue

Parameters:
doc -
modulus -
exponent -

RSAKeyValue

public RSAKeyValue(Document doc,
                   Key key)
            throws IllegalArgumentException
Constructor RSAKeyValue

Parameters:
doc -
key -
Throws:
IllegalArgumentException
Method Detail

getPublicKey

public PublicKey getPublicKey()
                       throws XMLSecurityException
Description copied from interface: KeyValueContent
Method getPublicKey

Specified by:
getPublicKey in interface KeyValueContent
Returns:
the public key
Throws:
XMLSecurityException

getBaseLocalName

public String getBaseLocalName()
Description copied from class: ElementProxy
Returns the localname of the Elements of the sub-class.

Specified by:
getBaseLocalName in class ElementProxy
Returns:
the localname of the Elements of the sub-class.


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.