org.apache.xml.security.keys.content.keyvalues
Class DSAKeyValue
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
org.apache.xml.security.keys.content.keyvalues.DSAKeyValue
- All Implemented Interfaces:
- KeyValueContent
public class DSAKeyValue
- extends SignatureElementProxy
- implements KeyValueContent
| Methods inherited from class org.apache.xml.security.utils.ElementProxy |
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSAKeyValue
public DSAKeyValue(Element element,
String baseURI)
throws XMLSecurityException
- Constructor DSAKeyValue
- Parameters:
element - baseURI -
- Throws:
XMLSecurityException
DSAKeyValue
public DSAKeyValue(Document doc,
BigInteger P,
BigInteger Q,
BigInteger G,
BigInteger Y)
- Constructor DSAKeyValue
- Parameters:
doc - P - Q - G - Y -
DSAKeyValue
public DSAKeyValue(Document doc,
Key key)
throws IllegalArgumentException
- Constructor DSAKeyValue
- Parameters:
doc - key -
- Throws:
IllegalArgumentException
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.