Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-03


oracle.security.xmlsec.saml2.ac
Class TimeSyncToken

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.ac.TimeSyncToken


public class TimeSyncToken
extends oracle.security.xmlsec.util.XMLElement

Represents a time synchronization token is used to identify the Principal.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
  TimeSyncToken(org.w3c.dom.Document owner, java.lang.String nsURI)
          Creates a new TimeSyncToken instance.
protected TimeSyncToken(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new TimeSyncToken instance.
  TimeSyncToken(org.w3c.dom.Element element)
          Creates a new TimeSyncToken instance from the given Element node.
  TimeSyncToken(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new TimeSyncToken instance from the given Element node.

 

Method Summary
 BooleanType getDeviceInHand()
          Returns whether the device is physically present with the Principal.
 DeviceType getDeviceType()
          Returns the type of device.
 int getSeedLength()
          Returns the length of the random seed used in the device.
 void setDeviceInHand(BooleanType type)
          Indicates if the device is physically present with the Principal.
 void setDeviceType(DeviceType type)
          Sets the type of device.
 void setSeedLength(int seed)
          Sets the length of the random seed used in the device.

 

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

TimeSyncToken

public TimeSyncToken(org.w3c.dom.Element element)
              throws org.w3c.dom.DOMException
Creates a new TimeSyncToken instance from the given Element node.
Parameters:
element - An TimeSyncToken element.
Throws:
org.w3c.dom.DOMException

TimeSyncToken

public TimeSyncToken(org.w3c.dom.Element element,
                     java.lang.String systemId)
              throws org.w3c.dom.DOMException
Creates a new TimeSyncToken instance from the given Element node.
Parameters:
element - An TimeSyncToken element.
systemId - The URI string system ID for the TimeSyncToken.
Throws:
org.w3c.dom.DOMException

TimeSyncToken

public TimeSyncToken(org.w3c.dom.Document owner,
                     java.lang.String nsURI)
              throws org.w3c.dom.DOMException
Creates a new TimeSyncToken instance.
Parameters:
owner - The owner document of the new TimeSyncToken.
nsURI - The namespace URI in which the new TimeSyncToken is to be created.
Throws:
org.w3c.dom.DOMException

TimeSyncToken

protected TimeSyncToken(org.w3c.dom.Document owner,
                        java.lang.String nsURI,
                        java.lang.String localName)
                 throws org.w3c.dom.DOMException
Creates a new TimeSyncToken instance. This constructor is for use in subclass for extension of the TimeSyncToken element.
Parameters:
owner - The owner document of the new TimeSyncToken.
nsURI - The namespace URI in which the new TimeSyncToken is to be created.
localName - The localName of the element represented by the class that extends this class.
Throws:
org.w3c.dom.DOMException

Method Detail

setDeviceType

public void setDeviceType(DeviceType type)
Sets the type of device.
Parameters:
type - The DeviceType object.

getDeviceType

public DeviceType getDeviceType()
Returns the type of device.
Returns:
The DeviceType object or null if not present.

setSeedLength

public void setSeedLength(int seed)
Sets the length of the random seed used in the device.
Parameters:
seed - An unsigned integer.

getSeedLength

public int getSeedLength()
Returns the length of the random seed used in the device.
Returns:
An unsigned integer or 0 if an invalid value is present.

setDeviceInHand

public void setDeviceInHand(BooleanType type)
Indicates if the device is physically present with the Principal.
Parameters:
type - A boolean value.

getDeviceInHand

public BooleanType getDeviceInHand()
Returns whether the device is physically present with the Principal.
Returns:
A boolean value. If true, device is in hand.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-03


Copyright © 2005, 2011 , Oracle. All rights reserved.