public class SecretKeyProtection extends oracle.security.xmlsec.util.XMLElement implements Protection
| Modifier | Constructor and Description |
|---|---|
|
SecretKeyProtection(org.w3c.dom.Document doc, java.lang.String nsURI)
Creates a new
SecretKeyProtection instance. |
protected |
SecretKeyProtection(org.w3c.dom.Document doc, java.lang.String nsURI, java.lang.String localName)
Creates a new
SecretKeyProtection instance. |
|
SecretKeyProtection(org.w3c.dom.Element element)
Creates a new
SecretKeyProtection instance from the given Element node. |
|
SecretKeyProtection(org.w3c.dom.Element element, java.lang.String systemID)
Creates a new
SecretKeyProtection instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtension(Extension extension)
Add a schema extension.
|
java.util.List |
getExtensions()
Returns the schema extensions.
|
KeyActivation |
getKeyActivation()
Returns the private key activation information.
|
KeyStorage |
getKeyStorage()
Returns the key storage information.
|
void |
setKeyActivation(KeyActivation ka)
Sets the private key activation information.
|
void |
setKeyStorage(KeyStorage ks)
Sets the key storage information.
|
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, toStringXML
public SecretKeyProtection(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
SecretKeyProtection instance from the given Element node.element - An SecretKeyProtection element.org.w3c.dom.DOMException
public SecretKeyProtection(org.w3c.dom.Element element,
java.lang.String systemID)
throws org.w3c.dom.DOMException
SecretKeyProtection instance from the given Element node.element - An SecretKeyProtection element.systemID - The URI string system ID for the SecretKeyProtection.org.w3c.dom.DOMException
public SecretKeyProtection(org.w3c.dom.Document doc,
java.lang.String nsURI)
throws org.w3c.dom.DOMException
SecretKeyProtection instance. This constructor is for use in subclass for extension of the SecretKeyProtection element.doc - The owner document of the new SecretKeyProtection.nsURI - The namespace URI in which the new SecretKeyProtection is to be created.org.w3c.dom.DOMException
protected SecretKeyProtection(org.w3c.dom.Document doc,
java.lang.String nsURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
SecretKeyProtection instance. This constructor is for use in subclass for extension of the SecretKeyProtection element.doc - The owner document of the new SecretKeyProtection.nsURI - The namespace URI in which the new SecretKeyProtection is to be created.localName - The localName of the element represented by the class that extends this class.org.w3c.dom.DOMExceptionpublic void setKeyActivation(KeyActivation ka)
ka - The KeyActivation object.public KeyActivation getKeyActivation()
KeyActivation object or null if not present.public void setKeyStorage(KeyStorage ks)
ks - The KeyStorage object.public KeyStorage getKeyStorage()
KeyStorage object or null if not present.public void addExtension(Extension extension)
extension - The Extension Object.public java.util.List getExtensions()
List of Extension objects or null if not present.