Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-03


oracle.security.xmlsec.keys
Class ECKeyValue

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.keys.ECKeyValue

All Implemented Interfaces:
KeyValueData

public class ECKeyValue
extends XMLElement
implements KeyValueData
Since:
release specific (what release of product did this appear in)
Version:
$Header: ldap/java/src/oracle/security/xmlsec/keys/ECKeyValue.java /main/1 2009/05/22 15:21:58 pdatta Exp $

Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
ECKeyValue(org.w3c.dom.Document owner)
           
ECKeyValue(org.w3c.dom.Document owner, java.security.interfaces.ECPublicKey ecKey)
           
ECKeyValue(org.w3c.dom.Document owner, java.lang.String systemId)
           
ECKeyValue(org.w3c.dom.Element element)
           
ECKeyValue(org.w3c.dom.Element element, java.lang.String systemId)
           

 

Method Summary
static byte[] ecPointToOctetString(java.security.spec.ECPoint p, java.security.spec.EllipticCurve c)
          Convert ECPoint to OctetString according to section 2.3.3 of SEC 1.
 java.security.spec.ECParameterSpec getCurve()
           
 java.security.PublicKey getPublicKey()
          Returns a oracle.security.crypto.core.PublicKey.
 java.lang.String getType()
          Returns a URI identifying the type of KeyValue.
static java.security.spec.ECPoint octetStringToECPoint(byte[] encoded, java.security.spec.EllipticCurve c)
          Convert OctetString to ECPoint according to section 2.3.4 of SEC 1.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ECKeyValue

public ECKeyValue(org.w3c.dom.Document owner,
                  java.lang.String systemId)
           throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

ECKeyValue

public ECKeyValue(org.w3c.dom.Document owner)
           throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

ECKeyValue

public ECKeyValue(org.w3c.dom.Element element,
                  java.lang.String systemId)
           throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

ECKeyValue

public ECKeyValue(org.w3c.dom.Element element)
           throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

ECKeyValue

public ECKeyValue(org.w3c.dom.Document owner,
                  java.security.interfaces.ECPublicKey ecKey)

Method Detail

getPublicKey

public java.security.PublicKey getPublicKey()
Description copied from interface: KeyValueData
Returns a oracle.security.crypto.core.PublicKey.
Specified by:
getPublicKey in interface KeyValueData

getType

public java.lang.String getType()
Description copied from interface: KeyValueData
Returns a URI identifying the type of KeyValue.

Interface XMLURI contains the KeyInfo data type URIs for public key value elements defined in the XML Signature and XML Encryption namespaces, including:

Specified by:
getType in interface KeyValueData

getCurve

public java.security.spec.ECParameterSpec getCurve()

ecPointToOctetString

public static byte[] ecPointToOctetString(java.security.spec.ECPoint p,
                                          java.security.spec.EllipticCurve c)
Convert ECPoint to OctetString according to section 2.3.3 of SEC 1. http://www.secg.org/download/aid-385/sec1_final.pdf
Parameters:
p -
c -
Returns:

octetStringToECPoint

public static java.security.spec.ECPoint octetStringToECPoint(byte[] encoded,
                                                              java.security.spec.EllipticCurve c)
Convert OctetString to ECPoint according to section 2.3.4 of SEC 1. http://www.secg.org/download/aid-385/sec1_final.pdf
Parameters:
encoded -
c -
Returns:

Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-03


Copyright © 2005, 2011 , Oracle. All rights reserved.