public Either <Error, Void> Verify() { if (keys.Count == 0) { return(new Left(new EmptyKeys())); } List <byte[]> blocks = new List <byte[]> { authority }; blocks.AddRange(this.blocks); return(signature.Verify(keys, blocks)); }
public Either <Error, Void> Verify() { if (keys.Count == 0) { return(new Left(new EmptyKeys())); } List <byte[]> blocks = new List <byte[]> { authority }; blocks.AddRange(this.blocks); return(signature.Verify(keys, blocks)); }