to top
Android APIs
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
[Expand]
Inherited Methods
From interface java.security.Key

Constants

public static final long serialVersionUID

Since: API Level 1

The serialization version identifier.

Constant Value: -4795878709595146952 (0xbd719db928b8f538)