Features: add getFeatures() method to extract features byte
@@ -40,6 +40,10 @@ public Features(boolean critical, int features)
super(SignatureSubpacketTags.FEATURES, critical, false, featureToByteArray((byte)features));
}
+ public byte getFeatures() {
+ return data[0];
+ }
+
/**
* Returns if modification detection is supported.
*/
