public class TechnicalProtection extends ACElement
TechnicalProtection element in the
Liberty authentication context namespace
(http://projectliberty.org/schemas/authctx/2002/05).authenticationContextClass| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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. |
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, toStringXMLpublic 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.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.