KeyGenParameterSpec.Builder.SetAlgorithmParameterSpec 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.
Sets the algorithm-specific key generation parameters.
[Android.Runtime.Register("setAlgorithmParameterSpec", "(Ljava/security/spec/AlgorithmParameterSpec;)Landroid/security/keystore/KeyGenParameterSpec$Builder;", "", ApiSince=23)]
public Android.Security.Keystore.KeyGenParameterSpec.Builder? SetAlgorithmParameterSpec(Java.Security.Spec.IAlgorithmParameterSpec spec);
[<Android.Runtime.Register("setAlgorithmParameterSpec", "(Ljava/security/spec/AlgorithmParameterSpec;)Landroid/security/keystore/KeyGenParameterSpec$Builder;", "", ApiSince=23)>]
member this.SetAlgorithmParameterSpec : Java.Security.Spec.IAlgorithmParameterSpec -> Android.Security.Keystore.KeyGenParameterSpec.Builder
Parameters
Returns
- Attributes
Remarks
Sets the algorithm-specific key generation parameters. For example, for RSA keys this may be an instance of RSAKeyGenParameterSpec whereas for EC keys this may be an instance of ECGenParameterSpec.
These key generation parameters must match other explicitly set parameters (if any), such as key size.
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.