ISecretKey ISecretKey Interface


A cryptographic secret (symmetric) key.

[Android.Runtime.Register("javax/crypto/SecretKey", "", "Javax.Crypto.ISecretKeyInvoker", ApiSince=1)]
public interface ISecretKey : IDisposable, Java.Security.IKey
type ISecretKey = interface
    interface IKey
    interface ISerializable
    interface IJavaObject
    interface IDisposable


Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.


Algorithm Algorithm

Returns the name of the algorithm of this key.

(Inherited from IKey)

Format Format

Returns the name of the format used to encode this key, or null if it can not be encoded.

(Inherited from IKey)

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)


GetEncoded() GetEncoded()

Returns the encoded form of this key, or null if encoding is not supported by this key.

(Inherited from IKey)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to