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
- See Also:
-
RFC9580 - Preferred Symmetric Ciphers for v1 SEIPD,
RFC9580 - Preferred Hash Algorithms,
RFC9580 - Preferred Compression Algorithms,
RFC4880 - Preferred Symmetric Algorithms,
RFC4880 - Preferred Hash Algorithms,
RFC4880 - Preferred Compression Algorithms
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PreferredAlgorithms
public PreferredAlgorithms(int type,
boolean critical,
boolean isLongLength,
byte[] data)
PreferredAlgorithms
public PreferredAlgorithms(int type,
boolean critical,
int[] preferences)
intToByteArray
protected static byte[] intToByteArray(int[] v)
getPreferences
public int[] getPreferences()