Interface IKeyExchange
- 
- All Known Implementing Classes:
- AbstractKeyExchange,- DHExchange,- ECDHExchange
 
 public interface IKeyExchangeInterface for key exchanges.
- 
- 
Method SummaryAll 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- 
getPublicKeybyte[] getPublicKey() Returns the generated public key.- Returns:
- Generated public key.
 
 - 
generateSymKeybyte[] generateSymKey(byte[] remotekey) Generates the shared symmetric key given the remote public key.- Parameters:
- remotekey- The remote public key.
- Returns:
- Shared symmetric key;
 
 
- 
 
-