示例#1
0
        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));
        }