| java.lang.Object | |
| ↳ | javax.crypto.ExemptionMechanismSpi | 
The Service Provider Interface (SPI) definition for the ExemptionMechanism class.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new  
  
  ExemptionMechanismSpi instance. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generates the result key blob for this exemption mechanism. 
  
   | |||||||||||
Generates the result key blob for this exemption mechanism and stores it
 into the  
  
  output buffer at offset outputOffset. | |||||||||||
Returns the size in bytes for the output buffer needed to hold the output
 of the next  
  
  engineGenExemptionBlob() call, given the specified
 inputLen (in bytes). | |||||||||||
Initializes this  
  
  ExemptionMechanism instance with the specified
 key and algorithm parameters. | |||||||||||
Initializes this  
  
  ExemptionMechanism instance with the specified
 key and algorithm parameters. | |||||||||||
Initializes this  
  
  ExemptionMechanism instance with the specified
 key. | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
Generates the result key blob for this exemption mechanism.
| ExemptionMechanismException | if error(s) occur during generation. | 
|---|
Generates the result key blob for this exemption mechanism and stores it
 into the output buffer at offset outputOffset.
| output | the output buffer for the result key blob. | 
|---|---|
| outputOffset | the offset in the output buffer to start. | 
output buffer.| ShortBufferException | if the provided buffer is too small for the result key blob. | 
|---|---|
| ExemptionMechanismException | if error(s) occur during generation. | 
Returns the size in bytes for the output buffer needed to hold the output
 of the next engineGenExemptionBlob() call, given the specified
 inputLen (in bytes).
| inputLen | the specified input length (in bytes). | 
|---|
Initializes this ExemptionMechanism instance with the specified
 key and algorithm parameters.
| key | the key to initialize this instance with. | 
|---|---|
| params | the parameters for this exemption mechanism algorithm. | 
| InvalidKeyException | if the key cannot be used to initialize this mechanism. | 
|---|---|
| InvalidAlgorithmParameterException | if the parameters cannot be used to initialize this mechanism. | 
| ExemptionMechanismException | if error(s) occur during initialization. | 
Initializes this ExemptionMechanism instance with the specified
 key and algorithm parameters.
| key | the key to initialize this instance with. | 
|---|---|
| params | the parameters for this exemption mechanism algorithm. | 
| InvalidKeyException | if the key cannot be used to initialize this mechanism. | 
|---|---|
| InvalidAlgorithmParameterException | the the parameters cannot be used to initialize this mechanism. | 
| ExemptionMechanismException | if error(s) occur during initialization. | 
Initializes this ExemptionMechanism instance with the specified
 key.
| key | the key to initialize this instance with. | 
|---|
| InvalidKeyException | if the key cannot be used to initialize this mechanism. | 
|---|---|
| ExemptionMechanismException | if error(s) occur during initialization. |