Package org.bouncycastle.bcpg.sig
Class PreferredAlgorithms
- java.lang.Object
-
- org.bouncycastle.bcpg.SignatureSubpacket
-
- org.bouncycastle.bcpg.sig.PreferredAlgorithms
-
- Direct Known Subclasses:
LibrePGPPreferredEncryptionModes
,PreferredAEADCiphersuites
public class PreferredAlgorithms extends SignatureSubpacket
Signature Subpacket containing algorithm preferences of the key holder's implementation. This class is used to implement: Preferred Hash Algorithms Preferred Symmetric Key Algorithms Preferred Compression Algorithms
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
-
Constructor Summary
Constructors Constructor Description PreferredAlgorithms(int type, boolean critical, boolean isLongLength, byte[] data)
PreferredAlgorithms(int type, boolean critical, int[] preferences)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getPreferences()
protected static byte[]
intToByteArray(int[] v)
-
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
-
-