|
Oracle Security Developer Tools Liberty 1.2 Java API Reference 11g (11.1.1) E10671-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.liberty.v12.metadata.KeyDescriptor
public class KeyDescriptor
Liberty metadata KeyInfo element.
XSKeyInfo
Field Summary | |
---|---|
static java.lang.String |
KT_ENCRYPTION The use keyType attribute value "encryption". |
static java.lang.String |
KT_SIGNING The use keyType attribute value "signing". |
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
KeyDescriptor(org.w3c.dom.Document owner) Creates a new KeyDescriptor instance within the specified XML Document. |
|
KeyDescriptor(org.w3c.dom.Document owner, java.lang.String use) Creates a new KeyDescriptor instance within the specified XML Document. |
|
KeyDescriptor(org.w3c.dom.Element element) Creates a new KeyDescriptor instance from the given Element node. |
|
KeyDescriptor(org.w3c.dom.Element element, java.lang.String systemId) Creates a new KeyDescriptor instance from the given Element node. |
Method Summary | |
---|---|
java.lang.String |
getEncryptionMethod() Returns the value of the EncryptionMethod child element of this Liberty metadata KeyDescriptor element, or null if no EncryptionMethod element is present. |
oracle.security.xmlsec.dsig.XSKeyInfo |
getKeyInfo() Returns the ds:KeyInfo child element of this Liberty metadata KeyDescriptor element, or null if no ds:KeyInfo element is present. |
java.lang.Integer |
getKeySize() Returns the value of the KeySize child element of this Liberty metadata KeyDescriptor element, or null if no KeySize element is present. |
java.lang.String |
getUse() Returns the value of the use attribute of this Liberty metadata KeyDescriptor element, or null if the attribute is not specified. |
void |
setEncryptionMethod(java.lang.String encURI) Sets the value of the EncryptionMethod child element of this Liberty metadata KeyDescriptor element. |
void |
setKeyInfo(oracle.security.xmlsec.dsig.XSKeyInfo keyInfo) Sets the ds:KeyInfo child element of this Liberty metadata KeyDescriptor element. |
void |
setKeySize(java.lang.Integer keySize) Sets the value of the KeySize child element of this Liberty metadata KeyDescriptor element. |
void |
setUse(java.lang.String use) Sets the value of the use attribute of this Liberty metadata KeyDescriptor element. |
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 |
Field Detail |
---|
public static java.lang.String KT_SIGNING
setUse(String)
, getUse()
public static java.lang.String KT_ENCRYPTION
setUse(String)
, getUse()
Constructor Detail |
---|
public KeyDescriptor(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
KeyDescriptor
instance from the given Element node.
element
- A Liberty metadata KeyInfo XML element.org.w3c.dom.DOMException
public KeyDescriptor(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
KeyDescriptor
instance from the given Element node.
element
- A Liberty metedata KeyInfo XML element.systemId
- The URI string system ID for the KeyDescriptor
.org.w3c.dom.DOMException
public KeyDescriptor(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
KeyDescriptor
instance within the specified XML Document.
owner
- The owner document of the new Liberty metedata KeyDescriptor element.org.w3c.dom.DOMException
public KeyDescriptor(org.w3c.dom.Document owner, java.lang.String use) throws org.w3c.dom.DOMException
KeyDescriptor
instance within the specified XML Document.
owner
- The owner document of the new Liberty metadata KeyDescriptor element.use
- The use
attribute value.org.w3c.dom.DOMException
Method Detail |
---|
public void setUse(java.lang.String use) throws org.w3c.dom.DOMException
use
attribute of this Liberty metadata KeyDescriptor element.use
- The use attribute value.org.w3c.dom.DOMException
public java.lang.String getUse()
use
attribute of this Liberty metadata KeyDescriptor element, or null
if the attribute is not specified.public void setEncryptionMethod(java.lang.String encURI) throws org.w3c.dom.DOMException
EncryptionMethod
child element of this Liberty metadata KeyDescriptor element.encURI
- The URI string identifying the encryption method to use. Valid URI's are defined in the XML Encryption specification.org.w3c.dom.DOMException
XMLURI
public java.lang.String getEncryptionMethod()
EncryptionMethod
child element of this Liberty metadata KeyDescriptor element, or null
if no EncryptionMethod element is present.XMLURI
public void setKeySize(java.lang.Integer keySize) throws org.w3c.dom.DOMException
KeySize
child element of this Liberty metadata KeyDescriptor element.keySize
- The length of keys to be used in interactions with another entity.org.w3c.dom.DOMException
XMLURI
public java.lang.Integer getKeySize()
KeySize
child element of this Liberty metadata KeyDescriptor element, or null
if no KeySize element is present.null
if the element is not present.XMLURI
public void setKeyInfo(oracle.security.xmlsec.dsig.XSKeyInfo keyInfo) throws org.w3c.dom.DOMException
ds:KeyInfo
child element of this Liberty metadata KeyDescriptor element.keyInfo
- An instance of oracle.security.xmlsec.dsig.XSKeyInfo
representing the ds:KeyInfo
element.org.w3c.dom.DOMException
public oracle.security.xmlsec.dsig.XSKeyInfo getKeyInfo()
ds:KeyInfo
child element of this Liberty metadata KeyDescriptor element, or null
if no ds:KeyInfo element is present.oracle.security.xmlsec.dsig.XSKeyInfo
representing the ds:KeyInfo
element, or null
if none is present.
|
Oracle Security Developer Tools Liberty 1.2 Java API Reference 11g (11.1.1) E10671-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |