Returns the protobuf bytes of the key
@override Uint8List marshal() { final pbKey = pb.PublicKey( type: type, data: raw, ); return pbKey.writeToBuffer(); }