KeyGenerator.GenerateKey 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.
Generates a secret key.
[Android.Runtime.Register("generateKey", "()Ljavax/crypto/SecretKey;", "")]
public Javax.Crypto.ISecretKey? GenerateKey ();
[<Android.Runtime.Register("generateKey", "()Ljavax/crypto/SecretKey;", "")>]
member this.GenerateKey : unit -> Javax.Crypto.ISecretKey
Returns
the new key
- Attributes
Remarks
Generates a secret key.
Java documentation for javax.crypto.KeyGenerator.generateKey()
.
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.