Use PublicKeyAlgorithmTags instead of homebrew choices constants, fix expiry selection for adding new subkeys
This commit is contained in:
@@ -92,13 +92,6 @@ public final class Constants {
|
||||
}
|
||||
|
||||
public static final class choice {
|
||||
public static final class algorithm {
|
||||
// TODO: legacy reasons :/ better: PublicKeyAlgorithmTags
|
||||
public static final int dsa = 0x21070001;
|
||||
public static final int elgamal = 0x21070002;
|
||||
public static final int rsa = 0x21070003;
|
||||
}
|
||||
|
||||
public static final class compression {
|
||||
// TODO: legacy reasons :/ better: CompressionAlgorithmTags.UNCOMPRESSED
|
||||
public static final int none = 0x21070001;
|
||||
|
||||
Reference in New Issue
Block a user