YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.sendspin.secure.X25519Keys Class Reference

Curve25519 key pairs and the Diffie-Hellman function of the Noise suites, on the lightweight API of the library. More...

Collaboration diagram for de.yaacc.sendspin.secure.X25519Keys:
Collaboration graph

Classes

class  KeyPair
 A key pair; destroy() zeroes the private key.
 

Static Public Member Functions

static KeyPair generate (SecureRandom random)
 
static KeyPair fromPrivate (byte[] privateKey)
 

Static Public Attributes

static final int KEY_LENGTH = 32
 

Detailed Description

Curve25519 key pairs and the Diffie-Hellman function of the Noise suites, on the lightweight API of the library.

Member Function Documentation

◆ fromPrivate()

static KeyPair de.yaacc.sendspin.secure.X25519Keys.fromPrivate ( byte[] privateKey)
static
Parameters
privateKey32 bytes (copied, clamped as the function requires)

Referenced by de.yaacc.sendspin.secure.Identity.fromPrivateKey().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: