| 
 | Oracle Fusion Middleware Liberty 1.1 Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10670-04 | ||||||||
| 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.XMLNode
       oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.util.XMLElement
           oracle.security.xmlsec.liberty.v11.ac.ACElement
oracle.security.xmlsec.liberty.v11.ac.ACElement
               oracle.security.xmlsec.liberty.v11.ac.PrivateKeyProtection
oracle.security.xmlsec.liberty.v11.ac.PrivateKeyProtection
public class PrivateKeyProtection
Class representing the PrivateKeyProtection 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 | |
|---|---|
| PrivateKeyProtection(org.w3c.dom.Document owner, AuthenticationContextStatement acs)Creates a new PrivateKeyProtectioninstance in the given document with the given authentication context. | |
| PrivateKeyProtection(org.w3c.dom.Element element, AuthenticationContextStatement acs)Creates a new PrivateKeyProtectionobject that wraps the given Element object. | |
| PrivateKeyProtection(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)Creates a new PrivateKeyProtectionobject that wraps the given Element object. | |
| Method Summary | |
|---|---|
|  KeyActivation | getKeyActivation()Returns the KeyActivationelement for thisPrivateKeyProtection, ornullif none has been set. | 
|  KeyStorage | getKeyStorage()Returns the KeyStorageelement for thisPrivateKeyProtection, ornullif none has been set. | 
|  void | setKeyActivation(KeyActivation ka)Sets the KeyActivationelement for thisPrivateKeyProtectionelement, replacing any existingKeyActivationelement. | 
|  void | setKeyStorage(KeyStorage ks)Sets the KeyStorageelement for thisPrivateKeyProtectionelement, replacing any existingKeyStorageelement. | 
| 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 PrivateKeyProtection(org.w3c.dom.Element element,
                            AuthenticationContextStatement acs)
PrivateKeyProtection object that wraps the given Element object.
element - The underlying org.w3c.dom.Element object.acs - The authentication context for the element.
public PrivateKeyProtection(org.w3c.dom.Element element,
                            java.lang.String systemId,
                            AuthenticationContextStatement acs)
PrivateKeyProtection object that wraps the given Element object.
element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the PrivateKeyProtection.acs - The authentication context for the element.
public PrivateKeyProtection(org.w3c.dom.Document owner,
                            AuthenticationContextStatement acs)
PrivateKeyProtection 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 setKeyActivation(KeyActivation ka)
                      throws AuthenticationContextException
KeyActivation element for this PrivateKeyProtection element, replacing any existing KeyActivation element.ka - The KeyActivation element.AuthenticationContextException - If the KeyActivation element is not valid for this authentication context class.public KeyActivation getKeyActivation()
KeyActivation element for this PrivateKeyProtection, or null if none has been set.
public void setKeyStorage(KeyStorage ks)
                   throws AuthenticationContextException
KeyStorage element for this PrivateKeyProtection element, replacing any existing KeyStorage element.ks - The KeyStorage element.AuthenticationContextException - If the PrivateKeyProtection element is not valid for this authentication context class.public KeyStorage getKeyStorage()
KeyStorage element for this PrivateKeyProtection, or null if none has been set.| 
 | Oracle Fusion Middleware Liberty 1.1 Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10670-04 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||