method PrivateX25519.prototype.toPublicKey PrivateX25519.prototype.toPublicKey(id: DIDURL,controller: DID,): PublicX25519 Derive an X25519 public key from the private key. Parameters id: DIDURL controller: DID Return Type PublicX25519