public class PrivateKeyProtection extends ACElement
PrivateKeyProtection element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).authenticationContextClass| Constructor and Description |
|---|
PrivateKeyProtection(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
Creates a new
PrivateKeyProtection instance in the given document with the given authentication context. |
PrivateKeyProtection(org.w3c.dom.Element element, AuthenticationContextStatement acs)
Creates a new
PrivateKeyProtection object that wraps the given Element object. |
PrivateKeyProtection(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
Creates a new
PrivateKeyProtection object that wraps the given Element object. |
| Modifier and Type | Method and Description |
|---|---|
KeyActivation |
getKeyActivation()
Returns the
KeyActivation element for this PrivateKeyProtection, or null if none has been set. |
KeyStorage |
getKeyStorage()
Returns the
KeyStorage element for this PrivateKeyProtection, or null if none has been set. |
void |
setKeyActivation(KeyActivation ka)
Sets the
KeyActivation element for this PrivateKeyProtection element, replacing any existing KeyActivation element. |
void |
setKeyStorage(KeyStorage ks)
Sets the
KeyStorage element for this PrivateKeyProtection element, replacing any existing KeyStorage element. |
getAuthenticationContextClass, setAuthenticationContextClassaddNSPrefixAttr, 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 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.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.