Android Guides | Samples

Javax.Crypto.Cipher.GetMaxAllowedParameterSpec Method

Returns the maximum cipher parameter value for the specified transformation.

Syntax

[Android.Runtime.Register("getMaxAllowedParameterSpec", "(Ljava/lang/String;)Ljava/security/spec/AlgorithmParameterSpec;", "")]
public static IAlgorithmParameterSpec GetMaxAllowedParameterSpec (String transformation)

Parameters

transformation
the transformation name.

Exceptions

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

Remarks

Returns the maximum cipher parameter value for the specified transformation. If there is no maximum limit, null is returned.

[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