ice.crypto
Class SimpleKey

java.lang.Object
  extended byice.crypto.SimpleKey
All Implemented Interfaces:
Key, Serializable

public final class SimpleKey
extends Object
implements Key

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.security.Key
serialVersionUID
 
Constructor Summary
SimpleKey(String algo, byte[] array)
           
 
Method Summary
 String getAlgorithm()
           
 byte[] getEncoded()
           
 String getFormat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleKey

public SimpleKey(String algo,
                 byte[] array)
Method Detail

getAlgorithm

public String getAlgorithm()
Specified by:
getAlgorithm in interface Key

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface Key

getFormat

public String getFormat()
Specified by:
getFormat in interface Key