fi.hut.tcm.spki.impl
Class Deleg
java.lang.Object
|
+--fi.hut.tcm.spki.ByteString
|
+--fi.hut.tcm.spki.impl.Deleg
- public class Deleg
- extends ByteString
Deleg
Indicates whether authority can be forwarded to a third party. Can have
the value of "t" or "f".
Constructor Summary |
Deleg()
Creates a delegation object with the default value
"no delegation". |
Deleg(boolean value)
Creates a delegation object with the boolean value. |
Method Summary |
void |
accept(Visitor visitor)
|
boolean |
equals(java.lang.Object other)
|
void |
setValue(byte[] string)
Sets the value of the Deleg.
|
void |
setValue(java.lang.String string)
Sets the value of the Deleg.
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
,
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Deleg
public Deleg()
- Creates a delegation object with the default value
"no delegation".
Deleg
public Deleg(boolean value)
- Creates a delegation object with the boolean value.
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
- Sets the value of the Deleg.
Throws a SPKIException if trying to set an illegal value.
- Overrides:
- setValue in class ByteString
setValue
public void setValue(java.lang.String string)
throws SPKIException
- Sets the value of the Deleg.
Throws a SPKIException if trying to set an illegal value.
- Overrides:
- setValue in class ByteString
accept
public void accept(Visitor visitor)
- Overrides:
- accept in class ByteString