IKey IKey Interface


Key is the common interface for all keys.

[Android.Runtime.Register("java/security/Key", "", "Java.Security.IKeyInvoker", ApiSince=1)]
public interface IKey : IDisposable, Java.IO.ISerializable
type IKey = interface
    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.

Format Format

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

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.

Extension Methods

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

Performs an Android runtime-checked type conversion.

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

Applies to