javax > javax.crypto > javax.crypto.exemptionmechanism >

Class: javax.crypto.ExemptionMechanism
    java.lang.Object
       javax.crypto.ExemptionMechanism


public class ExemptionMechanism extends Object


FIELDS:

CONSTRUCTORS:
protected ExemptionMechanism(ExemptionMechanismSpi exmechSpi, Provider provider, String mechanism)


METHODS:
protected void finalize()
Overrides: Object

public final byte[] genExemptionBlob()
Throws: IllegalStateException
Throws: ExemptionMechanismException

public final int genExemptionBlob(byte[] output)
Throws: IllegalStateException
Throws: ShortBufferException
Throws: ExemptionMechanismException

public final int genExemptionBlob(byte[] output, int outputOffset)
Throws: IllegalStateException
Throws: ShortBufferException
Throws: ExemptionMechanismException

public static final ExemptionMechanism getInstance(String algorithm)
Throws: NullPointerException
Throws: NoSuchAlgorithmException

public static final ExemptionMechanism getInstance(String algorithm, String provider)
Throws: NullPointerException
Throws: NoSuchAlgorithmException
Throws: NoSuchProviderException
Throws: IllegalArgumentException

public static final ExemptionMechanism getInstance(String algorithm, Provider provider)
Throws: NullPointerException
Throws: NoSuchAlgorithmException
Throws: IllegalArgumentException

public final String getName()

public final int getOutputSize(int inputLen)
Throws: IllegalStateException

public final Provider getProvider()

public final void init(Key key)
Throws: InvalidKeyException
Throws: ExemptionMechanismException

public final void init(Key key, AlgorithmParameters params)
Throws: InvalidKeyException
Throws: InvalidAlgorithmParameterException
Throws: ExemptionMechanismException

public final void init(Key key, AlgorithmParameterSpec params)
Throws: InvalidKeyException
Throws: InvalidAlgorithmParameterException
Throws: ExemptionMechanismException

public final boolean isCryptoAllowed(Key key)
Throws: ExemptionMechanismException


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net