Android
javax.crypto
public class

javax.crypto.KeyAgreement

java.lang.Object
javax.crypto.KeyAgreement

Summary

Protected Constructors

            KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, String algorithm)

Public Methods

    final      Key  doPhase(Key key, boolean lastPhase)
    final      int  generateSecret(byte[] sharedSecret, int offset)
    final      SecretKey  generateSecret(String algorithm)
    final      byte[]  generateSecret()
    final      String  getAlgorithm()
    final  static    KeyAgreement  getInstance(String algorithm, String provider)
    final  static    KeyAgreement  getInstance(String algorithm)
    final  static    KeyAgreement  getInstance(String algorithm, Provider provider)
    final      Provider  getProvider()
    final      void  init(Key key, AlgorithmParameterSpec params, SecureRandom random)
    final      void  init(Key key, AlgorithmParameterSpec params)
    final      void  init(Key key)
    final      void  init(Key key, SecureRandom random)
Methods inherited from class java.lang.Object

Details

Protected Constructors

protected KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, String algorithm)

Public Methods

public final Key doPhase(Key key, boolean lastPhase)

public final int generateSecret(byte[] sharedSecret, int offset)

public final byte[] generateSecret()

public final String getAlgorithm()

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

public static final KeyAgreement getInstance(String algorithm)

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

public final Provider getProvider()

public final void init(Key key)

public final void init(Key key, SecureRandom random)

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