Class ECKeyValue
- java.lang.Object
-
- org.apache.xml.security.utils.ElementProxy
-
- org.apache.xml.security.utils.Signature11ElementProxy
-
- org.apache.xml.security.keys.content.keyvalues.ECKeyValue
-
- All Implemented Interfaces:
KeyValueContent
public class ECKeyValue extends Signature11ElementProxy implements KeyValueContent
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
-
Constructor Summary
Constructors Constructor Description ECKeyValue(org.w3c.dom.Document doc, java.security.Key key)Constructor DSAKeyValueECKeyValue(org.w3c.dom.Element element, java.lang.String baseURI)Constructor DSAKeyValue
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBaseLocalName()Returns the localname of the Elements of the sub-class.java.security.PublicKeygetPublicKey()Method getPublicKey-
Methods inherited from class org.apache.xml.security.utils.Signature11ElementProxy
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
-
-
-
-
Constructor Detail
-
ECKeyValue
public ECKeyValue(org.w3c.dom.Element element, java.lang.String baseURI) throws XMLSecurityExceptionConstructor DSAKeyValue- Parameters:
element-baseURI-- Throws:
XMLSecurityException
-
ECKeyValue
public ECKeyValue(org.w3c.dom.Document doc, java.security.Key key) throws java.lang.IllegalArgumentExceptionConstructor DSAKeyValue- Parameters:
doc-key-- Throws:
java.lang.IllegalArgumentException
-
-
Method Detail
-
getPublicKey
public java.security.PublicKey getPublicKey() throws XMLSecurityExceptionMethod getPublicKey- Specified by:
getPublicKeyin interfaceKeyValueContent- Returns:
- the public key
- Throws:
XMLSecurityException
-
getBaseLocalName
public java.lang.String getBaseLocalName()
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-
-