# Uses of Class
javax.crypto.ExemptionMechanism

Packages that use ExemptionMechanism
Package
Description
javax.crypto
Provides the classes and interfaces for cryptographic operations.

## Uses of ExemptionMechanism in javax.crypto

Methods in javax.crypto that return ExemptionMechanism
Modifier and Type
Method
Description
`final ExemptionMechanism`
Cipher.`getExemptionMechanism()`
Returns the exemption mechanism object used with this `Cipher` object.
`static final ExemptionMechanism`
ExemptionMechanism.`getInstance(String algorithm)`
Returns an `ExemptionMechanism` object that implements the specified exemption mechanism algorithm.
`static final ExemptionMechanism`
ExemptionMechanism.`getInstance(String algorithm, String provider)`
Returns an `ExemptionMechanism` object that implements the specified exemption mechanism algorithm.
`static final ExemptionMechanism`
ExemptionMechanism.`getInstance(String algorithm, Provider provider)`
Returns an `ExemptionMechanism` object that implements the specified exemption mechanism algorithm.