Bouncy Castle Cryptography Library 1.64

org.bouncycastle.bcpg.sig
Class Features

java.lang.Object
  |
  +--org.bouncycastle.bcpg.SignatureSubpacket
        |
        +--org.bouncycastle.bcpg.sig.Features

public class Features
extends SignatureSubpacket


Field Summary
static byte FEATURE_MODIFICATION_DETECTION
          Identifier for the modification detection feature
 
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
 
Constructor Summary
Features(boolean critical, boolean isLongLength, byte[] data)
           
Features(boolean critical, byte feature)
           
 
Method Summary
 boolean supportsFeature(byte feature)
          Returns if a particular feature is supported.
 boolean supportsModificationDetection()
          Returns if modification detection is supported.
 
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, getData, getType, isCritical, isLongLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FEATURE_MODIFICATION_DETECTION

public static final byte FEATURE_MODIFICATION_DETECTION
Identifier for the modification detection feature
Constructor Detail

Features

public Features(boolean critical,
                boolean isLongLength,
                byte[] data)

Features

public Features(boolean critical,
                byte feature)
Method Detail

supportsModificationDetection

public boolean supportsModificationDetection()
Returns if modification detection is supported.

supportsFeature

public boolean supportsFeature(byte feature)
Returns if a particular feature is supported.

Bouncy Castle Cryptography Library 1.64