KeyPairGeneratorSpec.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.
Caution
deprecated
Sets the algorithm-specific key generation parameters.
[Android.Runtime.Register("setAlgorithmParameterSpec", "(Ljava/security/spec/AlgorithmParameterSpec;)Landroid/security/KeyPairGeneratorSpec$Builder;", "")]
[System.Obsolete("deprecated")]
public Android.Security.KeyPairGeneratorSpec.Builder? SetAlgorithmParameterSpec(Java.Security.Spec.IAlgorithmParameterSpec spec);
[<Android.Runtime.Register("setAlgorithmParameterSpec", "(Ljava/security/spec/AlgorithmParameterSpec;)Landroid/security/KeyPairGeneratorSpec$Builder;", "")>]
[<System.Obsolete("deprecated")>]
member this.SetAlgorithmParameterSpec : Java.Security.Spec.IAlgorithmParameterSpec -> Android.Security.KeyPairGeneratorSpec.Builder
Parameters
The algorithm-specific parameters to store in the key generation specification. Must not be null.
Returns
This builder with the algorithm-specific parameters set.
- Attributes
Remarks
Sets the algorithm-specific key generation parameters. For example, for RSA keys this may be an instance of RSAKeyGenParameterSpec.
Android reference for android.security.KeyPairGeneratorSpec.Builder.setAlgorithmParameterSpec.
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.