
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
- Author:
- $Author: blautenb $
| Fields inherited from class org.apache.xml.security.utils.ElementProxy |
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY |
|
Constructor Summary |
DSAKeyValue(org.w3c.dom.Document doc,
java.math.BigInteger P,
java.math.BigInteger Q,
java.math.BigInteger G,
java.math.BigInteger Y)
Constructor DSAKeyValue |
DSAKeyValue(org.w3c.dom.Document doc,
java.security.Key key)
Constructor DSAKeyValue |
DSAKeyValue(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor DSAKeyValue |
|
Method Summary |
java.lang.String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class. |
java.security.PublicKey |
getPublicKey()
Method getPublicKey |
| Methods inherited from class org.apache.xml.security.utils.ElementProxy |
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getChildElementLocalName, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSAKeyValue
public DSAKeyValue(org.w3c.dom.Element element,
java.lang.String BaseURI)
throws XMLSecurityException
- Constructor DSAKeyValue
- Parameters:
element - BaseURI -
- Throws:
XMLSecurityException
DSAKeyValue
public DSAKeyValue(org.w3c.dom.Document doc,
java.math.BigInteger P,
java.math.BigInteger Q,
java.math.BigInteger G,
java.math.BigInteger Y)
- Constructor DSAKeyValue
- Parameters:
doc - P - Q - G - Y -
DSAKeyValue
public DSAKeyValue(org.w3c.dom.Document doc,
java.security.Key key)
throws java.lang.IllegalArgumentException
- Constructor DSAKeyValue
- Parameters:
doc - key -
- Throws:
java.lang.IllegalArgumentException
getPublicKey
public java.security.PublicKey getPublicKey()
throws XMLSecurityException
- Method getPublicKey
- Specified by:
getPublicKey in interface KeyValueContent
- Throws:
XMLSecurityException
getBaseLocalName
public java.lang.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.
Hosted by Stylus Studio XML Editor Download a Free Trial!