javax.crypto
Class ExemptionMechanism
java.lang.Object
javax.crypto.ExemptionMechanism
- public class ExemptionMechanism
- extends Object
done
private boolean done
keyStored
private Key keyStored
mechanism
private String mechanism
exmechSpi
private ExemptionMechanismSpi exmechSpi
initialized
private boolean initialized
provider
private Provider provider
ExemptionMechanism
protected ExemptionMechanism(ExemptionMechanismSpi,
Provider,
String)
getName
public final String getName()
getInstance
public static final ExemptionMechanism getInstance(String)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
getInstance
public static final ExemptionMechanism getInstance(String,
String)
throws NoSuchAlgorithmException,
NoSuchProviderException
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
getInstance
public static final ExemptionMechanism getInstance(String,
Provider)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
getProvider
public final Provider getProvider()
isCryptoAllowed
public final boolean isCryptoAllowed(Key)
throws ExemptionMechanismException
- Throws:
ExemptionMechanismException
getOutputSize
public final int getOutputSize(int)
throws IllegalStateException
- Throws:
IllegalStateException
init
public final void init(Key)
throws InvalidKeyException,
ExemptionMechanismException
- Throws:
InvalidKeyException
ExemptionMechanismException
init
public final void init(Key,
AlgorithmParameterSpec)
throws InvalidKeyException,
InvalidAlgorithmParameterException,
ExemptionMechanismException
- Throws:
InvalidKeyException
InvalidAlgorithmParameterException
ExemptionMechanismException
init
public final void init(Key,
AlgorithmParameters)
throws InvalidKeyException,
InvalidAlgorithmParameterException,
ExemptionMechanismException
- Throws:
InvalidKeyException
InvalidAlgorithmParameterException
ExemptionMechanismException
genExemptionBlob
public final byte[] genExemptionBlob()
throws IllegalStateException,
ExemptionMechanismException
- Throws:
IllegalStateException
ExemptionMechanismException
genExemptionBlob
public final int genExemptionBlob(byte[])
throws IllegalStateException,
ShortBufferException,
ExemptionMechanismException
- Throws:
IllegalStateException
ShortBufferException
ExemptionMechanismException
genExemptionBlob
public final int genExemptionBlob(byte[],
int)
throws IllegalStateException,
ShortBufferException,
ExemptionMechanismException
- Throws:
IllegalStateException
ShortBufferException
ExemptionMechanismException
finalize
protected void finalize()
- Overrides:
finalize
in class Object
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.