Class AbstractKeyExchange
- java.lang.Object
- 
- org.activecomponents.udp.asymciphers.AbstractKeyExchange
 
- 
- All Implemented Interfaces:
- IKeyExchange
 - Direct Known Subclasses:
- DHExchange,- ECDHExchange
 
 public abstract class AbstractKeyExchange extends java.lang.Object implements IKeyExchange 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractKeyExchange()
 - 
Method SummaryAll Methods Instance Methods Concrete 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- 
generateSymKeypublic byte[] generateSymKey(byte[] remotekey) Generates the shared symmetric key given the remote public key.- Specified by:
- generateSymKeyin interface- IKeyExchange
- Parameters:
- remotekey- The remote public key.
- Returns:
- Shared symmetric key;
 
 - 
getPublicKeypublic byte[] getPublicKey() Returns the generated public key.- Specified by:
- getPublicKeyin interface- IKeyExchange
- Returns:
- Generated public key.
 
 
- 
 
-