SecretKeySpec.GetEncoded Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the key material of this secret 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
the key material. Returns a new array each time this method is called.
Implements
- Attributes
Remarks
Returns the key material of this secret key.
Java documentation for javax.crypto.spec.SecretKeySpec.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.