Cipher Constructors
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.
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
- 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.
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.