Interface IKeyExchange
- 
- All Known Implementing Classes:
 AbstractKeyExchange,DHExchange,ECDHExchange
public interface IKeyExchangeInterface for key exchanges. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]generateSymKey(byte[] remotekey)Generates the shared symmetric key given the remote public key.byte[]getPublicKey()Returns the generated public key. 
 - 
 
- 
- 
Method Detail
- 
getPublicKey
byte[] getPublicKey()
Returns the generated public key.- Returns:
 - Generated public key.
 
 
- 
generateSymKey
byte[] generateSymKey(byte[] remotekey)
Generates the shared symmetric key given the remote public key.- Parameters:
 remotekey- The remote public key.- Returns:
 - Shared symmetric key;
 
 
 - 
 
 -