SecretKey - JRE Emulation | JRE Emulation
public interface

SecretKey

implements Key
javax.crypto.SecretKey
Known Indirect Subclasses

Class Overview

A cryptographic secret (symmetric) key.

This interface is a marker interface to group secret keys and to provide type safety for.

Implementations of this interface have to overwrite the equals and hashCode from Object so comparison is done using the actual key data and not the object reference.

Summary

Constants
long serialVersionUID The serialization version identifier.
[Expand]
Inherited Constants
From interface java.security.Key
Inherited Methods
[Expand]
From interface java.security.Key

Constants

public static final long serialVersionUID

The serialization version identifier.

Constant Value: -4795878709595146952 (0xbd719db928b8f538)