PBEKeySpec.KeyLength Property

Definition

Returns the to-be-derived key length or 0 if not specified.

public int KeyLength { [Android.Runtime.Register("getKeyLength", "()I", "")] get; }
[<get: Android.Runtime.Register("getKeyLength", "()I", "")>]
member this.KeyLength : int

Property Value

the to-be-derived key length.

Attributes

Remarks

Returns the to-be-derived key length or 0 if not specified.

Note: this is used to indicate the preference on key length for variable-key-size ciphers. The actual key size depends on each provider's implementation.

Java documentation for javax.crypto.spec.PBEKeySpec.getKeyLength().

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