Android
javax.crypto
public class

javax.crypto.ExemptionMechanism

java.lang.Object
javax.crypto.ExemptionMechanism

Summary

Protected Constructors

            ExemptionMechanism(ExemptionMechanismSpi exmechSpi, Provider provider, String mechanism)

Public Methods

    final      int  genExemptionBlob(byte[] output, int outputOffset)
    final      int  genExemptionBlob(byte[] output)
    final      byte[]  genExemptionBlob()
    final  static    ExemptionMechanism  getInstance(String algorithm, String provider)
    final  static    ExemptionMechanism  getInstance(String algorithm)
    final  static    ExemptionMechanism  getInstance(String algorithm, Provider provider)
    final      String  getName()
    final      int  getOutputSize(int inputLen)
    final      Provider  getProvider()
    final      void  init(Key key, AlgorithmParameterSpec param)
    final      void  init(Key key)
    final      void  init(Key key, AlgorithmParameters param)
    final      boolean  isCryptoAllowed(Key key)

Protected Methods

          void  finalize()
Called by the virtual machine when there are no longer any (non-weak) references to the receiver.
Methods inherited from class java.lang.Object

Details

Protected Constructors

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

Public Methods

public final int genExemptionBlob(byte[] output, int outputOffset)

public final int genExemptionBlob(byte[] output)

public final byte[] genExemptionBlob()

public static final ExemptionMechanism getInstance(String algorithm, String provider)

public static final ExemptionMechanism getInstance(String algorithm)

public static final ExemptionMechanism getInstance(String algorithm, Provider provider)

public final String getName()

public final int getOutputSize(int inputLen)

public final Provider getProvider()

public final void init(Key key)

public final boolean isCryptoAllowed(Key key)

Protected Methods

protected void finalize()

Called by the virtual machine when there are no longer any (non-weak) references to the receiver. Subclasses can use this facility to guarantee that any associated resources are cleaned up before the receiver is garbage collected. Uncaught exceptions which are thrown during the running of the method cause it to terminate immediately, but are otherwise ignored.

Note: The virtual machine assumes that the implementation in class Object is empty.

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56