method PrivateEd25519.prototype.toPublicKey PrivateEd25519.prototype.toPublicKey(id: DIDURL,controller: DID,): PublicEd25519 Derive an Ed25519 public key from the private key. Parameters id: DIDURL controller: DID Return Type PublicEd25519