public class ECKeyValue extends oracle.security.xmlsec.util.XMLElement implements KeyValueData
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, setDefaultNSPrefixappendChild, 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, toStringXMLpublic ECKeyValue(org.w3c.dom.Document owner,
java.lang.String systemId)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic ECKeyValue(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic ECKeyValue(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic ECKeyValue(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic ECKeyValue(org.w3c.dom.Document owner,
java.security.interfaces.ECPublicKey ecKey)
public java.security.PublicKey getPublicKey()
KeyValueDataoracle.security.crypto.core.PublicKey.getPublicKey in interface KeyValueDatapublic java.lang.String getType()
KeyValueDataInterface XMLURI contains the KeyInfo data type URIs
for public key value elements defined in the XML Signature and
XML Encryption namespaces, including:
XMLURI.obj_DHKeyValueXMLURI.obj_DSAKeyValueXMLURI.obj_RSAKeyValuegetType in interface KeyValueDatapublic java.security.spec.ECParameterSpec getCurve()
public static byte[] ecPointToOctetString(java.security.spec.ECPoint p,
java.security.spec.EllipticCurve c)
p - c - public static java.security.spec.ECPoint octetStringToECPoint(byte[] encoded,
java.security.spec.EllipticCurve c)
encoded - c -