EDDSAPublicKey constructor
Creates an EdDSA public key from a generator, encoded public key bytes, and an optional public point.
Parameters:
generator: The generator point associated with this public key.publicKey: The encoded form of the public key as bytes.
Throws:
- CryptoException: If the size of the encoded public key does not match the expected size based on the generator's curve.
Implementation
factory EDDSAPublicKey(EDPoint generator, List<int> publicKey) {
return EDDSAPublicKey.fromPoint(generator, Ed25519Utils.asPoint(publicKey));
}