Interface X25519
-
- All Known Implementing Classes:
X25519Conscrypt
@Immutable public interface X25519Interface for X25519.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classX25519.KeyPairKeypair.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]computeSharedSecret(byte[] privateValue, byte[] peersPublicValue)computeSharedSecret.X25519.KeyPairgenerateKeyPair()generateKeyPair.
-
-
-
Method Detail
-
generateKeyPair
X25519.KeyPair generateKeyPair() throws java.security.GeneralSecurityException
generateKeyPair.- Throws:
java.security.GeneralSecurityException
-
computeSharedSecret
byte[] computeSharedSecret(byte[] privateValue, byte[] peersPublicValue) throws java.security.GeneralSecurityExceptioncomputeSharedSecret.- Throws:
java.security.GeneralSecurityException
-
-