private void checkValue(byte[] flag, int val) { KeyFlags f = new KeyFlags(true, flag); if (f.Flags != val) { Fail("flag value mismatch"); } }
public KeyFlags(bool critical, int flags) : base(SignatureSubpacketTag.KeyFlags, critical, KeyFlags.IntToByteArray(flags)) { }