ExemptionMechanism.GetInstance Method

Definition

Overloads

GetInstance(String)

Returns a new ExemptionMechanism instance that provides the specified exemption mechanism algorithm.

GetInstance(String, Provider)

Returns a new ExemptionMechanism instance that provides the specified exemption mechanism algorithm from the specified provider.

GetInstance(String, String)

Returns a new ExemptionMechansm instance that provides the specified exemption mechanism algorithm from the specified provider.

GetInstance(String)

Returns a new ExemptionMechanism instance that provides the specified exemption mechanism algorithm.

[Android.Runtime.Register("getInstance", "(Ljava/lang/String;)Ljavax/crypto/ExemptionMechanism;", "")]
public static Javax.Crypto.ExemptionMechanism GetInstance (string algorithm);
static member GetInstance : string -> Javax.Crypto.ExemptionMechanism

Parameters

algorithm
String

the name of the requested exemption mechanism.

Returns

ExemptionMechanism
Attributes

Exceptions

if the specified algorithm is not available by any provider.

if the algorithm parameter is null.

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Applies to

GetInstance(String, Provider)

Returns a new ExemptionMechanism instance that provides the specified exemption mechanism algorithm from the specified provider.

[Android.Runtime.Register("getInstance", "(Ljava/lang/String;Ljava/security/Provider;)Ljavax/crypto/ExemptionMechanism;", "")]
public static Javax.Crypto.ExemptionMechanism GetInstance (string algorithm, Java.Security.Provider provider);
static member GetInstance : string * Java.Security.Provider -> Javax.Crypto.ExemptionMechanism

Parameters

algorithm
String

the name of the requested exemption mechanism.

provider
Provider

the provider that is providing the algorithm.

Returns

ExemptionMechanism
Attributes

Exceptions

if the specified algorithm is not provided by the specified provider.

if the algorithm parameter is null.

if the provider parameter is null.

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Applies to

GetInstance(String, String)

Returns a new ExemptionMechansm instance that provides the specified exemption mechanism algorithm from the specified provider.

[Android.Runtime.Register("getInstance", "(Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/ExemptionMechanism;", "")]
public static Javax.Crypto.ExemptionMechanism GetInstance (string algorithm, string provider);
static member GetInstance : string * string -> Javax.Crypto.ExemptionMechanism

Parameters

algorithm
String

the name of the requested exemption mechanism.

provider
String

the name of the provider that is providing the algorithm.

Returns

ExemptionMechanism
Attributes

Exceptions

if the specified algorithm is not provided by the specified provider.

if the specified provider is not available.

if the algorithm parameter is null.

if the provider parameter is null.

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Applies to