|
Oracle Security Developer Tools Liberty 1.1 Java API Reference 11g (11.1.1) E10670-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.v11.ac.ACElement
oracle.security.xmlsec.liberty.v11.ac.TechnicalProtection
public class TechnicalProtection
Class representing the TechnicalProtection element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).
| Field Summary |
|---|
| Fields inherited from class oracle.security.xmlsec.liberty.v11.ac.ACElement |
|---|
authenticationContextClass |
| Fields inherited from class oracle.security.xmlsec.util.XMLNode |
|---|
node, systemId |
| Constructor Summary | |
|---|---|
TechnicalProtection(org.w3c.dom.Document owner, AuthenticationContextStatement acs)Creates a new TechnicalProtection instance in the given document with the given authentication context. |
|
TechnicalProtection(org.w3c.dom.Element element, AuthenticationContextStatement acs)Creates a new TechnicalProtection object that wraps the given Element object. |
|
TechnicalProtection(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)Creates a new TechnicalProtection object that wraps the given Element object. |
|
| Method Summary | |
|---|---|
PrivateKeyProtection |
getPrivateKeyProtection()Returns the PrivateKeyProtection element for this TechnicalProtection, or null if none has been set. |
SharedKeyProtection |
getSharedKeyProtection()Returns the SharedKeyProtection element for this TechnicalProtection, or null if none has been set. |
void |
setPrivateKeyProtection(PrivateKeyProtection pkp)Sets the PrivateKeyProtection element for this TechnicalProtection element, replacing any existing PrivateKeyProtection element. |
void |
setSharedKeyProtection(SharedKeyProtection skp)Sets the SharedKeyProtection element for this TechnicalProtection element, replacing any existing SharedKeyProtection element. |
| Methods inherited from class oracle.security.xmlsec.liberty.v11.ac.ACElement |
|---|
getAuthenticationContextClass, setAuthenticationContextClass |
| 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 |
| Constructor Detail |
|---|
public TechnicalProtection(org.w3c.dom.Element element,
AuthenticationContextStatement acs)
TechnicalProtection object that wraps the given Element object.
element - The underlying org.w3c.dom.Element object.acs - The authentication context for the element.
public TechnicalProtection(org.w3c.dom.Element element,
java.lang.String systemId,
AuthenticationContextStatement acs)
TechnicalProtection object that wraps the given Element object.
element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the TechnicalProtection.acs - The authentication context for the element.
public TechnicalProtection(org.w3c.dom.Document owner,
AuthenticationContextStatement acs)
TechnicalProtection instance in the given document with the given authentication context.
owner - The owner document for this new element.acs - The authentication context for this new element.| Method Detail |
|---|
public void setPrivateKeyProtection(PrivateKeyProtection pkp)
throws AuthenticationContextException
PrivateKeyProtection element for this TechnicalProtection element, replacing any existing PrivateKeyProtection element.pkp - The PrivateKeyProtection element.AuthenticationContextException - If the PrivateKeyProtection element is not valid for this authentication context class.public PrivateKeyProtection getPrivateKeyProtection()
PrivateKeyProtection element for this TechnicalProtection, or null if none has been set.
public void setSharedKeyProtection(SharedKeyProtection skp)
throws AuthenticationContextException
SharedKeyProtection element for this TechnicalProtection element, replacing any existing SharedKeyProtection element.skp - The SharedKeyProtection element.AuthenticationContextException - If the SharedKeyProtection element is not valid for this authentication context class.public SharedKeyProtection getSharedKeyProtection()
SharedKeyProtection element for this TechnicalProtection, or null if none has been set.
|
Oracle Security Developer Tools Liberty 1.1 Java API Reference 11g (11.1.1) E10670-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||