|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.data.Token
ptolemy.actor.lib.security.KeyToken
public class KeyToken
Tokens that contain java.security.Keys.
| Yellow (cxh) |
| Yellow (cxh) |
| Nested Class Summary | |
|---|---|
static class |
KeyToken.KeyType
The cryptographic key type. |
| Field Summary | |
|---|---|
private java.security.Key |
_value
The java.security.Key |
static Type |
KEY
The Key type: the least upper bound of all the cryptographic key types. |
| Fields inherited from class ptolemy.data.Token |
|---|
NIL |
| Constructor Summary | |
|---|---|
KeyToken(java.security.Key value)
Construct a token with a specified java.security.Key. |
|
| Method Summary | |
|---|---|
Type |
getType()
Return the type of this token. |
java.security.Key |
getValue()
Return the java.security.Key. |
BooleanToken |
isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument Token. |
java.lang.String |
toString()
Return a String representation of the KeyToken. |
| Methods inherited from class ptolemy.data.Token |
|---|
add, addReverse, divide, divideReverse, isCloseTo, isCloseTo, isNil, modulo, moduloReverse, multiply, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtract, subtractReverse, zero, zeroReturnType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Type KEY
private java.security.Key _value
| Constructor Detail |
|---|
public KeyToken(java.security.Key value)
value - The specified java.security.Key type to construct
the token with.| Method Detail |
|---|
public Type getType()
getType in class TokenKEY, the least upper bound of all the cryptographic
key types.public java.security.Key getValue()
public final BooleanToken isEqualTo(Token rightArgument)
throws IllegalActionException
isEqualTo in class TokenrightArgument - The Token to test against.
IllegalActionException - Not thrown in this base class.public java.lang.String toString()
toString in class Token
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||