Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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

Added in API level 1

The serialization version identifier.

Constant Value: -4795878709595146952 (0xbd719db928b8f538)