fi.hut.tcm.spki.impl
Class OnlineType

java.lang.Object
  |
  +--fi.hut.tcm.spki.ByteString
        |
        +--fi.hut.tcm.spki.impl.OnlineType

class OnlineType
extends ByteString

OnlineType Indicates the type of revalidation. The possible values are "crl", "reval " and "one-time".


Fields inherited from class fi.hut.tcm.spki.ByteString
bytes, displayType
 
Constructor Summary
OnlineType()
          Creates an OnlineType object with the default value "crl".
OnlineType(java.lang.String value)
          Creates a new OnlineType object with the value given in the value string.
 
Method Summary
 void accept(Visitor visitor)
           
 boolean equals(java.lang.Object other)
           
 void setValue(byte[] string)
           
 void setValue(java.lang.String string)
           
 java.lang.String toString()
           
 
Methods inherited from class fi.hut.tcm.spki.ByteString
getDisplayHintBytes, getDisplayHintString, getValueBytes, getValueString, setDisplayHint, setDisplayHint
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

OnlineType

public OnlineType()
Creates an OnlineType object with the default value "crl".

OnlineType

public OnlineType(java.lang.String value)
Creates a new OnlineType object with the value given in the value string. If the value is illegal, i.e., not one of "crl", "reval" and "one-time", the default of "crl" will be used.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class ByteString

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class ByteString

setValue

public void setValue(byte[] string)
              throws SPKIException
Overrides:
setValue in class ByteString

setValue

public void setValue(java.lang.String string)
              throws SPKIException
Overrides:
setValue in class ByteString

accept

public void accept(Visitor visitor)
Overrides:
accept in class ByteString