Skip to content

Commit 82da8b1

Browse files
committed
feat: add ECC P-521 algorithm to PivAlgorithm
1 parent ac90d2b commit 82da8b1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivAlgorithm.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,15 @@ public enum PivAlgorithm
8585
/// </summary>
8686
EccP384 = 0x14,
8787

88+
/// <summary>
89+
/// Indicates that the algorithm is ECC and the parameters are P-521,
90+
/// </summary>
91+
EccP521 = 0x15,
92+
8893
/// <summary>
8994
/// Indicates that the slot contains a PIN or PUK (slots 80 and 81).
9095
/// While not a cryptographic algorithm, it is used in the PIV Metadata.
9196
/// </summary>
9297
Pin = 0xFF,
93-
EccP521 = 0x100
9498
}
9599
}

0 commit comments

Comments
 (0)