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".
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. |
Methods inherited from class java.lang.Object |
,
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
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.
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