Package org.bouncycastle.bcpg.sig
Class Features
java.lang.Object
org.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.Features
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteIdentifier for the modification detection featureFields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansupportsFeature(byte feature) Returns if a particular feature is supported.booleanReturns if modification detection is supported.Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
-
Field Details
-
FEATURE_MODIFICATION_DETECTION
public static final byte FEATURE_MODIFICATION_DETECTIONIdentifier for the modification detection feature- See Also:
-
-
Constructor Details
-
Features
public Features(boolean critical, boolean isLongLength, byte[] data) -
Features
public Features(boolean critical, byte feature)
-
-
Method Details
-
supportsModificationDetection
public boolean supportsModificationDetection()Returns if modification detection is supported. -
supportsFeature
public boolean supportsFeature(byte feature) Returns if a particular feature is supported.
-