| 
 | 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.TimeSyncToken
oracle.security.xmlsec.liberty.v11.ac.TimeSyncToken
public class TimeSyncToken
Class representing the TimeSyncToken element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).
| Field Summary | |
|---|---|
| static java.lang.String | HARDWAREThe enumerated "hardware" value for the TimeSyncTokenelement's deviceType attribute. | 
| static java.lang.String | SOFTWAREThe enumerated "software" value for the TimeSyncTokenelement's deviceType attribute. | 
| 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 | |
|---|---|
| TimeSyncToken(org.w3c.dom.Document owner, AuthenticationContextStatement acs)Creates a new TimeSyncTokeninstance in the given document with the given authentication context. | |
| TimeSyncToken(org.w3c.dom.Document owner, AuthenticationContextStatement acs, java.lang.String deviceType, int seedLength, boolean deviceInHand)Creates a new TimeSyncTokeninstance in the given document with the given authentication context. | |
| TimeSyncToken(org.w3c.dom.Element element, AuthenticationContextStatement acs)Creates a new TimeSyncTokenobject that wraps the given Element object. | |
| TimeSyncToken(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)Creates a new TimeSyncTokenobject that wraps the given Element object. | |
| Method Summary | |
|---|---|
|  java.lang.Boolean | getDeviceInHand()Returns the deviceInHandattribute for thisTimeSuncTokenelement, ornullif none has been set. | 
|  java.lang.String | getDeviceType()Returns the deviceTypeattribute for thisTimeSuncTokenelement, ornullif none has been set. | 
|  java.lang.Integer | getSeedLength()Returns the seedLengthattribute for thisTimeSyncTokenelement, ornullif none has been set. | 
|  void | setDeviceInHand(boolean deviceInHand)Sets the deviceInHandattribute for thisTimeSyncTokenelement. | 
|  void | setDeviceType(java.lang.String deviceType)Sets the DeviceTypeattribute for thisTimeSyncTokenelement. | 
|  void | setSeedLength(int seedLength)Sets the seedLengthattribute for thisTimeSyncTokenelement. | 
| 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 | 
| Field Detail | 
|---|
public static final java.lang.String HARDWARE
TimeSyncToken element's deviceType attribute.
public static final java.lang.String SOFTWARE
TimeSyncToken element's deviceType attribute.
| Constructor Detail | 
|---|
public TimeSyncToken(org.w3c.dom.Element element,
                     AuthenticationContextStatement acs)
TimeSyncToken object that wraps the given Element object.
element - The underlying org.w3c.dom.Element object.acs - The authentication context for the element.
public TimeSyncToken(org.w3c.dom.Element element,
                     java.lang.String systemId,
                     AuthenticationContextStatement acs)
TimeSyncToken object that wraps the given Element object.
element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the TimeSyncToken.acs - The authentication context for the element.
public TimeSyncToken(org.w3c.dom.Document owner,
                     AuthenticationContextStatement acs)
TimeSyncToken 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 TimeSyncToken(org.w3c.dom.Document owner,
                     AuthenticationContextStatement acs,
                     java.lang.String deviceType,
                     int seedLength,
                     boolean deviceInHand)
              throws AuthenticationContextException
TimeSyncToken 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.deviceType - The DeviceType attribute.seedLength - The SeedLength attribute.deviceInHand - The DeviceInHand attribute.AuthenticationContextException - If the any of the deviceType, seeLength or deviceInHand values are invalid for this element's authentication context class.| Method Detail | 
|---|
public void setDeviceType(java.lang.String deviceType)
                   throws AuthenticationContextException
DeviceType attribute for this TimeSyncToken element.deviceType - The attribute value.AuthenticationContextException - If the deviceType value is invalid for this element's authentication context class.public java.lang.String getDeviceType()
deviceType attribute for this TimeSuncToken element, or null if none has been set.
public void setSeedLength(int seedLength)
                   throws AuthenticationContextException
seedLength attribute for this TimeSyncToken element.seedLength - The attribute value.AuthenticationContextException - If the seedLength value is invalid for this element's authentication context class.public java.lang.Integer getSeedLength()
seedLength attribute for this TimeSyncToken element, or null if none has been set.
public void setDeviceInHand(boolean deviceInHand)
                     throws AuthenticationContextException
deviceInHand attribute for this TimeSyncToken element.deviceInHand - The attribute value.AuthenticationContextException - If the deviceInHand value is invalid for this element's authentication context class.public java.lang.Boolean getDeviceInHand()
deviceInHand attribute for this TimeSuncToken element, 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 | ||||||||