Update 'pkcs15-tools.md'

This commit is contained in:
2024-08-24 01:59:01 +08:00
parent e317b75b8e
commit 0ab8abf1ea

View File

@@ -11,7 +11,27 @@ X.509 Certificate [Certificate for Card Authentication]
```
```shell
pkcs15-tool --list-public-keys
$ pkcs15-tool --list-public-keys
Using reader with a card: Yubico YubiKey OTP+FIDO+CCID
Public EC Key [PIV AUTH pubkey]
Object Flags : [0x00]
Usage : [0x40], verify
Access Flags : [0x02], extract
FieldLength : 384
Key ref : 154 (0x9A)
Native : yes
ID : 01
DirectValue : <absent>
Public EC Key [SIGN pubkey]
Object Flags : [0x00]
Usage : [0x40], verify
Access Flags : [0x02], extract
FieldLength : 256
Key ref : 156 (0x9C)
Native : yes
ID : 02
DirectValue : <absent>
```
```shell