public static AttributeValueAssertion Extract(ICollection <byte> buffer, bool isTagIncluded = false)
        {
            var result = new AttributeValueAssertion();

            if (isTagIncluded)
            {
                result.ExtractTagAndLength(buffer);
            }

            result.AttributeDescription = DEROctetString.Extract(buffer);
            result.AssertionValue       = DEROctetString.Extract(buffer);
            return(result);
        }