RC5ParameterSpec 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
| RC5ParameterSpec(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| RC5ParameterSpec(Int32, Int32, Int32) |
Constructs a parameter set for RC5 from the given version, number of rounds and word size (in bits). |
| RC5ParameterSpec(Int32, Int32, Int32, Byte[]) |
Constructs a parameter set for RC5 from the given version, number of rounds, word size (in bits), and IV. |
| RC5ParameterSpec(Int32, Int32, Int32, Byte[], Int32) |
Constructs a parameter set for RC5 from the given version, number of rounds, word size (in bits), and IV. |
RC5ParameterSpec(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected RC5ParameterSpec (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Crypto.Spec.RC5ParameterSpec : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Crypto.Spec.RC5ParameterSpec
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
RC5ParameterSpec(Int32, Int32, Int32)
Constructs a parameter set for RC5 from the given version, number of rounds and word size (in bits).
[Android.Runtime.Register(".ctor", "(III)V", "")]
public RC5ParameterSpec (int version, int rounds, int wordSize);
[<Android.Runtime.Register(".ctor", "(III)V", "")>]
new Javax.Crypto.Spec.RC5ParameterSpec : int * int * int -> Javax.Crypto.Spec.RC5ParameterSpec
Parameters
- version
- Int32
the version.
- rounds
- Int32
the number of rounds.
- wordSize
- Int32
the word size in bits.
- Attributes
Remarks
Java documentation for javax.crypto.spec.RC5ParameterSpec.RC5ParameterSpec(int, int, 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
RC5ParameterSpec(Int32, Int32, Int32, Byte[])
Constructs a parameter set for RC5 from the given version, number of rounds, word size (in bits), and IV.
[Android.Runtime.Register(".ctor", "(III[B)V", "")]
public RC5ParameterSpec (int version, int rounds, int wordSize, byte[]? iv);
[<Android.Runtime.Register(".ctor", "(III[B)V", "")>]
new Javax.Crypto.Spec.RC5ParameterSpec : int * int * int * byte[] -> Javax.Crypto.Spec.RC5ParameterSpec
Parameters
- version
- Int32
the version.
- rounds
- Int32
the number of rounds.
- wordSize
- Int32
the word size in bits.
- iv
- Byte[]
the buffer with the IV. The first <code>2*(wordSize/8) </code> bytes of the buffer are copied to protect against subsequent modification.
- Attributes
Exceptions
if the initialization vector is null or shorter than 2
* (wordSize / 8).
Remarks
Java documentation for javax.crypto.spec.RC5ParameterSpec.RC5ParameterSpec(int, int, int, 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
RC5ParameterSpec(Int32, Int32, Int32, Byte[], Int32)
Constructs a parameter set for RC5 from the given version, number of rounds, word size (in bits), and IV.
[Android.Runtime.Register(".ctor", "(III[BI)V", "")]
public RC5ParameterSpec (int version, int rounds, int wordSize, byte[]? iv, int offset);
[<Android.Runtime.Register(".ctor", "(III[BI)V", "")>]
new Javax.Crypto.Spec.RC5ParameterSpec : int * int * int * byte[] * int -> Javax.Crypto.Spec.RC5ParameterSpec
Parameters
- version
- Int32
the version.
- rounds
- Int32
the number of rounds.
- wordSize
- Int32
the word size in bits.
- iv
- Byte[]
the buffer with the IV. The first <code>2*(wordSize/8) </code> bytes of the buffer beginning at <code>offset</code> inclusive are copied to protect against subsequent modification.
- offset
- Int32
the offset in <code>iv</code> where the IV starts.
- Attributes
Exceptions
if the initialization vector is null of shorter than
offset + (2 * (wordSize / 8)).
if offset is negative.
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.