@Immutable
public interface X25519
| Modifier and Type | Interface and Description |
|---|---|
static class |
X25519.KeyPair
Keypair.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
computeSharedSecret(byte[] privateValue,
byte[] peersPublicValue)
computeSharedSecret.
|
X25519.KeyPair |
generateKeyPair()
generateKeyPair.
|
X25519.KeyPair generateKeyPair() throws GeneralSecurityException
GeneralSecurityExceptionbyte[] computeSharedSecret(byte[] privateValue,
byte[] peersPublicValue)
throws GeneralSecurityException
GeneralSecurityException