Android Guides | Samples

Java.Security.IKey

Key is the common interface for all keys.

See Also: IKey

Syntax

[Android.Runtime.Register("java/security/Key", "", "Java.Security.IKeyInvoker")]
public interface IKey : ISerializable, IDisposable

Remarks

Key is the common interface for all keys.

See Also

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Security.IKey are listed below.

Public Properties

[read-only]
AlgorithmString. Returns the name of the algorithm of this key.
[read-only]
FormatString. Returns the name of the format used to encode this key, or null if it can not be encoded.

Public Methods

GetEncoded() : Byte[]
Returns the encoded form of this key, or null if encoding is not supported by this key.