OpenPGP v3.3: set new SCP11b bit in extended capabilities

This commit is contained in:
Arnaud Fontaine 2017-07-06 18:05:30 +02:00
parent a6021cbb57
commit a2787abbcf

View File

@ -163,7 +163,7 @@ public final class Constants {
0x04 | /* support algorithm attributes changes */
0x02 | /* support PSO:DEC/ENC AES */
0x01), /* support KDF-DO */
(byte)0x01, /* SM 0x01 = 128 bits, 0x02 = 256 bits */
(byte)0x03, /* SM 0x01 = 128 bits, 0x02 = 256 bits, 0x03 = SCP11b */
(byte)0x00, (byte)0x20, /* max length get challenge */
(byte)0x04, (byte)0x80, /* max length of carholder certificate */
(byte)0x00, (byte)0xff, /* max length of special DOs (private, login, url, KDF-DO) */