Udostępnij za pośrednictwem


Cipher.GetMaxAllowedParameterSpec(String) Method

Definition

Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the jurisdiction policy file.

[Android.Runtime.Register("getMaxAllowedParameterSpec", "(Ljava/lang/String;)Ljava/security/spec/AlgorithmParameterSpec;", "")]
public static Java.Security.Spec.IAlgorithmParameterSpec? GetMaxAllowedParameterSpec (string? transformation);
[<Android.Runtime.Register("getMaxAllowedParameterSpec", "(Ljava/lang/String;)Ljava/security/spec/AlgorithmParameterSpec;", "")>]
static member GetMaxAllowedParameterSpec : string -> Java.Security.Spec.IAlgorithmParameterSpec

Parameters

transformation
String

the cipher transformation.

Returns

an AlgorithmParameterSpec which holds the maximum value or null.

Attributes

Exceptions

if no provider for the specified transformation can be found.

if transformation is null.

Remarks

Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the jurisdiction policy file. If JCE unlimited strength jurisdiction policy files are installed or there is no maximum limit on the parameters for the specified transformation in the policy file, null will be returned.

Added in 1.5.

Java documentation for javax.crypto.Cipher.getMaxAllowedParameterSpec(java.lang.String).

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