javacard.security
Class KeyAgreement

java.lang.Object
  |
  +--javacard.security.KeyAgreement

public abstract synchronized class KeyAgreement
extends java.lang.Object


Field Summary
static byte ALG_EC_SVDP_DH
           
static byte ALG_EC_SVDP_DHC
           
 
Constructor Summary
protected KeyAgreement()
           
 
Method Summary
abstract  short generateSecret(byte[], short, short, byte[], byte[])
           
abstract  byte getAlgorithm()
           
static KeyAgreement getInstance(byte, boolean)
           
abstract  void init(PrivateKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALG_EC_SVDP_DH

public static final byte ALG_EC_SVDP_DH
See Also:
Constant Field Values

ALG_EC_SVDP_DHC

public static final byte ALG_EC_SVDP_DHC
See Also:
Constant Field Values
Constructor Detail

KeyAgreement

protected KeyAgreement()
Method Detail

getInstance

public static final KeyAgreement getInstance(byte,
                                             boolean)
                                      throws CryptoException
CryptoException

init

public abstract void init(PrivateKey)
                   throws CryptoException
CryptoException

getAlgorithm

public abstract byte getAlgorithm()

generateSecret

public abstract short generateSecret(byte[],
                                     short,
                                     short,
                                     byte[],
                                     byte[])
                              throws CryptoException
CryptoException