DESedeKeySpec Constructors

Definition

Overloads

DESedeKeySpec(Byte[])

Creates a DESedeKeySpec object using the first 24 bytes in key as the key material for the DES-EDE key.

DESedeKeySpec(Byte[], Int32)

Creates a DESedeKeySpec object using the first 24 bytes in key, beginning at offset inclusive, as the key material for the DES-EDE key.

DESedeKeySpec(IntPtr, JniHandleOwnership)

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

DESedeKeySpec(Byte[])

Creates a DESedeKeySpec object using the first 24 bytes in key as the key material for the DES-EDE key.

[Android.Runtime.Register(".ctor", "([B)V", "")]
public DESedeKeySpec (byte[]? key);
[<Android.Runtime.Register(".ctor", "([B)V", "")>]
new Javax.Crypto.Spec.DESedeKeySpec : byte[] -> Javax.Crypto.Spec.DESedeKeySpec

Parameters

key
Byte[]

the buffer with the DES-EDE key material. The first 24 bytes of the buffer are copied to protect against subsequent modification.

Attributes

Exceptions

if the length of the key data is less than 24.

if the key data is null.

Remarks

Creates a DESedeKeySpec object using the first 24 bytes in key as the key material for the DES-EDE key.

The bytes that constitute the DES-EDE key are those between key[0] and key[23] inclusive

Java documentation for javax.crypto.spec.DESedeKeySpec.DESedeKeySpec(byte[]).

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

DESedeKeySpec(Byte[], Int32)

Creates a DESedeKeySpec object using the first 24 bytes in key, beginning at offset inclusive, as the key material for the DES-EDE key.

[Android.Runtime.Register(".ctor", "([BI)V", "")]
public DESedeKeySpec (byte[]? key, int offset);
[<Android.Runtime.Register(".ctor", "([BI)V", "")>]
new Javax.Crypto.Spec.DESedeKeySpec : byte[] * int -> Javax.Crypto.Spec.DESedeKeySpec

Parameters

key
Byte[]

the buffer with the DES-EDE key material. The first 24 bytes of the buffer beginning at offset inclusive are copied to protect against subsequent modification.

offset
Int32

the offset in key, where the DES-EDE key material starts.

Attributes

Exceptions

if the length of the key data starting at offset is less than 24.

if the key data is null.

Remarks

Creates a DESedeKeySpec object using the first 24 bytes in key, beginning at offset inclusive, as the key material for the DES-EDE key.

The bytes that constitute the DES-EDE key are those between key[offset] and key[offset+23] inclusive.

Java documentation for javax.crypto.spec.DESedeKeySpec.DESedeKeySpec(byte[], int).

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

DESedeKeySpec(IntPtr, JniHandleOwnership)

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

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

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