public class TechnicalProtection
extends oracle.security.xmlsec.util.XMLElement
Modifier | Constructor and Description |
---|---|
|
TechnicalProtection(org.w3c.dom.Document owner, java.lang.String nsURI)
Creates a new
TechnicalProtection instance. |
protected |
TechnicalProtection(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
TechnicalProtection instance. |
|
TechnicalProtection(org.w3c.dom.Element element)
Creates a new
TechnicalProtection instance from the given Element node. |
|
TechnicalProtection(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
TechnicalProtection instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(Extension extn)
Add a schema extension.
|
java.util.List |
getExtensions()
Returns the schema extensions.
|
PrivateKeyProtection |
getPrivateKeyProtection()
Returns the private key protection information.
|
SecretKeyProtection |
getSecretKeyProtection()
Returns the secret key protection information.
|
void |
setProtection(Protection pkp)
Sets the protection 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 TechnicalProtection(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
TechnicalProtection
instance from the given Element node.element
- An TechnicalProtection element.org.w3c.dom.DOMException
public TechnicalProtection(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
TechnicalProtection
instance from the given Element node.element
- An TechnicalProtection element.systemId
- The URI string system ID for the TechnicalProtection
.org.w3c.dom.DOMException
public TechnicalProtection(org.w3c.dom.Document owner, java.lang.String nsURI) throws org.w3c.dom.DOMException
TechnicalProtection
instance.owner
- The owner document of the new TechnicalProtection.nsURI
- The namespace URI in which the new TechnicalProtection is to be created.org.w3c.dom.DOMException
protected TechnicalProtection(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
TechnicalProtection
instance. This constructor is for use in subclass for extension of the TechnicalProtection element.owner
- The owner document of the new TechnicalProtection.nsURI
- The namespace URI in which the new TechnicalProtection is to be created.localName
- The localName of the element represented by the class that extends this class.org.w3c.dom.DOMException
public void setProtection(Protection pkp)
pkp
- The Protection
object.public PrivateKeyProtection getPrivateKeyProtection()
PrivateKeyProtection
object or null
if not present.public SecretKeyProtection getSecretKeyProtection()
SecretKeyProtection
object or null
if not present.public void addExtension(Extension extn)
extn
- The Extension
object.public java.util.List getExtensions()
List
of Extension
objects or null
if not present.