Javax.Crypto.Cipher.GetMaxAllowedKeyLength Method
Returns the maximum key length for the specified transformation.

Syntax

[Android.Runtime.Register("getMaxAllowedKeyLength", "(Ljava/lang/String;)I", "")]
public static int GetMaxAllowedKeyLength (string transformation)

Parameters

transformation
the transformation name.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.NoSuchAlgorithmExceptionif no provider for the specified transformation can be found.
Java.Lang.NullPointerExceptionif transformation is null.

Remarks

Returns the maximum key length for the specified transformation.

[Android Documentation]

Requirements

Namespace: Javax.Crypto
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1