SecretKeyFactorySpi.EngineGenerateSecret(IKeySpec) Method
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 SecretKey
object from the
provided key specification (key material).
[Android.Runtime.Register("engineGenerateSecret", "(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;", "GetEngineGenerateSecret_Ljava_security_spec_KeySpec_Handler")]
protected abstract Javax.Crypto.ISecretKey? EngineGenerateSecret (Java.Security.Spec.IKeySpec? keySpec);
[<Android.Runtime.Register("engineGenerateSecret", "(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;", "GetEngineGenerateSecret_Ljava_security_spec_KeySpec_Handler")>]
abstract member EngineGenerateSecret : Java.Security.Spec.IKeySpec -> Javax.Crypto.ISecretKey
- keySpec
- IKeySpec
the specification (key material) of the secret key
the secret key
- Attributes
if the specified key specification cannot be used to generate a secret key.
Generates a SecretKey
object from the provided key specification (key material).
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.