次の方法で共有


KeyFactorySpi.EngineGeneratePrivate(IKeySpec) Method

Definition

Generates a private key object from the provided key specification (key material).

[Android.Runtime.Register("engineGeneratePrivate", "(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;", "GetEngineGeneratePrivate_Ljava_security_spec_KeySpec_Handler")]
protected abstract Java.Security.IPrivateKey? EngineGeneratePrivate (Java.Security.Spec.IKeySpec? keySpec);
[<Android.Runtime.Register("engineGeneratePrivate", "(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;", "GetEngineGeneratePrivate_Ljava_security_spec_KeySpec_Handler")>]
abstract member EngineGeneratePrivate : Java.Security.Spec.IKeySpec -> Java.Security.IPrivateKey

Parameters

keySpec
IKeySpec

the specification (key material) of the private key.

Returns

the private key.

Attributes

Exceptions

if the specified keySpec is invalid.

Remarks

Generates a private key object from the provided key specification (key material).

Java documentation for java.security.KeyFactorySpi.engineGeneratePrivate(java.security.spec.KeySpec).

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.

Applies to