CoseServerKey.ed25519 constructor

CoseServerKey.ed25519(
  1. Uint8List publicKey
)

An Ed25519 public key (32 bytes).

Implementation

factory CoseServerKey.ed25519(Uint8List publicKey) =>
    CoseServerKey._(CoseAlg.ed25519, Uint8List.fromList(publicKey));