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  TechnicalProtectioninstance in the given document with the given authentication context. | 
| TechnicalProtection(org.w3c.dom.Element element, AuthenticationContextStatement acs)Creates a new  TechnicalProtectionobject that wraps the given Element object. | 
| TechnicalProtection(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)Creates a new  TechnicalProtectionobject that wraps the given Element object. | 
| Modifier and Type | Method and Description | 
|---|---|
| PrivateKeyProtection | getPrivateKeyProtection()Returns the  PrivateKeyProtectionelement for thisTechnicalProtection, ornullif none has been set. | 
| SharedKeyProtection | getSharedKeyProtection()Returns the  SharedKeyProtectionelement for thisTechnicalProtection, ornullif none has been set. | 
| void | setPrivateKeyProtection(PrivateKeyProtection pkp)Sets the  PrivateKeyProtectionelement for thisTechnicalProtectionelement, replacing any existingPrivateKeyProtectionelement. | 
| void | setSharedKeyProtection(SharedKeyProtection skp)Sets the  SharedKeyProtectionelement for thisTechnicalProtectionelement, replacing any existingSharedKeyProtectionelement. | 
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 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.