edu.stanford.rt.datatype
Class KeyValue

java.lang.Object
  |
  +--edu.stanford.rt.datatype.KeyValue
All Implemented Interfaces:
DataValue

public class KeyValue
extends java.lang.Object
implements DataValue

Author:
Ninghui Li, Sandra Qiu
Note: This class is not useable.

Field Summary
private  KeyType type
           
private  java.security.PublicKey value
           
 
Constructor Summary
KeyValue(KeyType type, java.security.PublicKey value)
           
 
Method Summary
 KeyType getType()
           
 java.security.PublicKey getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

private KeyType type

value

private java.security.PublicKey value
Constructor Detail

KeyValue

public KeyValue(KeyType type,
                java.security.PublicKey value)
Method Detail

getType

public KeyType getType()

getValue

public java.security.PublicKey getValue()

toString

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