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 byte
Identifier for the AEAD Encrypted Data Packet (packet 20) and version 5 Symmetric-Key Encrypted Session Key Packets (packet 3)static final byte
Identifier for the Modification Detection (packets 18 and 19)static final byte
Identifier for the Version 5 Public-Key Packet format and corresponding new fingerprint formatFields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte
boolean
supportsFeature
(byte feature) Returns if a particular feature is supported.boolean
Returns 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 (packets 18 and 19)- See Also:
-
FEATURE_AEAD_ENCRYPTED_DATA
public static final byte FEATURE_AEAD_ENCRYPTED_DATAIdentifier for the AEAD Encrypted Data Packet (packet 20) and version 5 Symmetric-Key Encrypted Session Key Packets (packet 3)- See Also:
-
FEATURE_VERSION_5_PUBLIC_KEY
public static final byte FEATURE_VERSION_5_PUBLIC_KEYIdentifier for the Version 5 Public-Key Packet format and corresponding new fingerprint format- See Also:
-
-
Constructor Details
-
Features
public Features(boolean critical, boolean isLongLength, byte[] data) -
Features
public Features(boolean critical, byte features) -
Features
public Features(boolean critical, int features)
-
-
Method Details
-
getFeatures
public byte getFeatures() -
supportsModificationDetection
public boolean supportsModificationDetection()Returns if modification detection is supported. -
supportsFeature
public boolean supportsFeature(byte feature) Returns if a particular feature is supported.
-