Condividi tramite


Cipher Constructors

Definition

Overloads

Cipher(IntPtr, JniHandleOwnership)

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

Cipher(CipherSpi, Provider, String)

Creates a Cipher object.

Cipher(IntPtr, JniHandleOwnership)

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

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

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

Cipher(CipherSpi, Provider, String)

Creates a Cipher object.

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

Parameters

cipherSpi
CipherSpi

the delegate

provider
Provider

the provider

transformation
String

the transformation

Attributes

Exceptions

if either cipherSpi is null or provider is null and cipherSpi is a NullCipherSpi.

Remarks

Creates a Cipher object.

Java documentation for javax.crypto.Cipher.Cipher(javax.crypto.CipherSpi, 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