Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.crypto
Interface SecretKey  view SecretKey download SecretKey.java

All Superinterfaces:
java.security.Key, java.io.Serializable

public interface SecretKey
extends java.security.Key

A secret key for symmetric cryptography.

This interface defines no new methods over java.security.Key, but rather is intended to be a marker interface and to provide type safety for secret keys.

The format of secret keys should be RAW, as returned by Key.getFormat()>Key.getFormat() 55 .

Concrete implementations of this interface should override the Object.equals(java.lang.Object)>Object.equals(java.lang.Object) 55 and Object.hashCode()>Object.hashCode() 55 methods of java.lang.Object to use the actual key data rather than the identity-based default methods.


Field Summary
static long serialVersionUID
           
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values