public class RSAKeyValue extends SignatureElementProxy implements KeyValueContent
baseURI, LOG
Constructor and Description |
---|
RSAKeyValue(Document doc,
BigInteger modulus,
BigInteger exponent)
Constructor RSAKeyValue
|
RSAKeyValue(Document doc,
Key key)
Constructor RSAKeyValue
|
RSAKeyValue(Element element,
String baseURI)
Constructor RSAKeyValue
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class.
|
PublicKey |
getPublicKey()
Method getPublicKey
|
getBaseNamespace
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
public RSAKeyValue(Element element, String baseURI) throws XMLSecurityException
element
- baseURI
- XMLSecurityException
public RSAKeyValue(Document doc, BigInteger modulus, BigInteger exponent)
doc
- modulus
- exponent
- public RSAKeyValue(Document doc, Key key) throws IllegalArgumentException
doc
- key
- IllegalArgumentException
public PublicKey getPublicKey() throws XMLSecurityException
getPublicKey
in interface KeyValueContent
XMLSecurityException
public String getBaseLocalName()
getBaseLocalName
in class ElementProxy
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.