Sdílet prostřednictvím


SecretKeyFactory Constructors

Definition

Overloads

SecretKeyFactory(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

SecretKeyFactory(SecretKeyFactorySpi, Provider, String)

Creates a SecretKeyFactory object.

SecretKeyFactory(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected SecretKeyFactory (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Crypto.SecretKeyFactory : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Crypto.SecretKeyFactory

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

SecretKeyFactory(SecretKeyFactorySpi, Provider, String)

Creates a SecretKeyFactory object.

[Android.Runtime.Register(".ctor", "(Ljavax/crypto/SecretKeyFactorySpi;Ljava/security/Provider;Ljava/lang/String;)V", "")]
protected SecretKeyFactory (Javax.Crypto.SecretKeyFactorySpi? keyFacSpi, Java.Security.Provider? provider, string? algorithm);
[<Android.Runtime.Register(".ctor", "(Ljavax/crypto/SecretKeyFactorySpi;Ljava/security/Provider;Ljava/lang/String;)V", "")>]
new Javax.Crypto.SecretKeyFactory : Javax.Crypto.SecretKeyFactorySpi * Java.Security.Provider * string -> Javax.Crypto.SecretKeyFactory

Parameters

keyFacSpi
SecretKeyFactorySpi

the delegate

provider
Provider

the provider

algorithm
String

the secret-key algorithm

Attributes

Remarks

Creates a SecretKeyFactory object.

Java documentation for javax.crypto.SecretKeyFactory.SecretKeyFactory(javax.crypto.SecretKeyFactorySpi, java.security.Provider, java.lang.String).

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