public class PrivateKeyProtection extends oracle.security.xmlsec.util.XMLElement implements Protection
Modifier | Constructor and Description |
---|---|
|
PrivateKeyProtection(org.w3c.dom.Document doc, java.lang.String nsURI)
Creates a new
PrivateKeyProtection instance. |
protected |
PrivateKeyProtection(org.w3c.dom.Document doc, java.lang.String nsURI, java.lang.String localName)
Creates a new
PrivateKeyProtection instance. |
|
PrivateKeyProtection(org.w3c.dom.Element element)
Creates a new
PrivateKeyProtection instance from the given Element node. |
|
PrivateKeyProtection(org.w3c.dom.Element element, java.lang.String systemID)
Creates a new
PrivateKeyProtection 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.
|
KeySharing |
getKeySharing()
Returns the key sharing information.
|
KeyStorage |
getKeyStorage()
Returns the key storage information.
|
void |
setKeyActivation(KeyActivation ka)
Sets the private key activation information.
|
void |
setKeySharing(KeySharing ksh)
Sets the key sharing 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, setDefaultNSPrefix
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
public PrivateKeyProtection(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
PrivateKeyProtection
instance from the given Element node.element
- An PrivateKeyProtection element.org.w3c.dom.DOMException
public PrivateKeyProtection(org.w3c.dom.Element element, java.lang.String systemID) throws org.w3c.dom.DOMException
PrivateKeyProtection
instance from the given Element node.element
- An PrivateKeyProtection element.systemID
- The URI string system ID for the PrivateKeyProtection
.org.w3c.dom.DOMException
public PrivateKeyProtection(org.w3c.dom.Document doc, java.lang.String nsURI) throws org.w3c.dom.DOMException
PrivateKeyProtection
instance. This constructor is for use in subclass for extension of the PrivateKeyProtection element.doc
- The owner document of the new PrivateKeyProtection.nsURI
- The namespace URI in which the new PrivateKeyProtection is to be created.org.w3c.dom.DOMException
protected PrivateKeyProtection(org.w3c.dom.Document doc, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
PrivateKeyProtection
instance. This constructor is for use in subclass for extension of the PrivateKeyProtection element.doc
- The owner document of the new PrivateKeyProtection.nsURI
- The namespace URI in which the new PrivateKeyProtection is to be created.localName
- The localName of the element represented by the class that extends this class.org.w3c.dom.DOMException
public 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 setKeySharing(KeySharing ksh)
ksh
- The KeySharing
object.public KeySharing getKeySharing()
KeySharing
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.