Share via


EncodedKeySpec.GetEncoded Method

Definition

Returns the encoded key.

[Android.Runtime.Register("getEncoded", "()[B", "GetGetEncodedHandler")]
public virtual byte[]? GetEncoded ();
[<Android.Runtime.Register("getEncoded", "()[B", "GetGetEncodedHandler")>]
abstract member GetEncoded : unit -> byte[]
override this.GetEncoded : unit -> byte[]

Returns

Byte[]

the encoded key. Returns a new array each time this method is called.

Attributes

Remarks

Returns the encoded key.

Java documentation for java.security.spec.EncodedKeySpec.getEncoded().

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.

Applies to