public class TimeSyncToken
extends oracle.security.xmlsec.util.XMLElement
| Modifier | Constructor and Description |
|---|---|
|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, 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 TimeSyncToken(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
TimeSyncToken instance from the given Element node.element - An TimeSyncToken element.org.w3c.dom.DOMException
public TimeSyncToken(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
TimeSyncToken instance from the given Element node.element - An TimeSyncToken element.systemId - The URI string system ID for the TimeSyncToken.org.w3c.dom.DOMException
public TimeSyncToken(org.w3c.dom.Document owner,
java.lang.String nsURI)
throws org.w3c.dom.DOMException
TimeSyncToken instance.owner - The owner document of the new TimeSyncToken.nsURI - The namespace URI in which the new TimeSyncToken is to be created.org.w3c.dom.DOMException
protected TimeSyncToken(org.w3c.dom.Document owner,
java.lang.String nsURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
TimeSyncToken instance. This constructor is for use in subclass for extension of the TimeSyncToken element.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.org.w3c.dom.DOMExceptionpublic void setDeviceType(DeviceType type)
type - The DeviceType object.public DeviceType getDeviceType()
DeviceType object or null if not present.public void setSeedLength(int seed)
seed - An unsigned integer.public int getSeedLength()
0 if an invalid value is present.public void setDeviceInHand(BooleanType type)
type - A boolean value.public BooleanType getDeviceInHand()
true, device is in hand.