Пример #1
0
    public Features GetFeatures()
    {
        SignatureSubpacket subpacket = GetSubpacket(SignatureSubpacketTag.Features);

        if (subpacket == null)
        {
            return(null);
        }
        return(new Features(subpacket.IsCritical(), subpacket.IsLongLength(), subpacket.GetData()));
    }
Пример #2
0
        public Features GetFeatures()
        {
            SignatureSubpacket p = this.GetSubpacket(SignatureSubpacketTag.Features);

            if (p == null)
            {
                return(null);
            }

            return(new Features(p.IsCritical(), p.IsLongLength(), p.GetData()));
        }