Skip to content

Instantly share code, notes, and snippets.

@vDorst
Created May 17, 2016 14:43
Show Gist options
  • Save vDorst/cf4a38e133fb998ce1dadc7f176bd690 to your computer and use it in GitHub Desktop.
Save vDorst/cf4a38e133fb998ce1dadc7f176bd690 to your computer and use it in GitHub Desktop.
pkcs15-tool -D
Using reader with a card: Feitian ePass2003 00 00
PKCS#15 Card [<<MycardName>>]:
Version : 0
Serial number : 20A90D8B8002801B
Manufacturer ID: EnterSafe
Last update : 20160517082359Z
Flags : EID compliant
PIN [User PIN]
Object Flags : [0x3], private, modifiable
ID : 01
Flags : [0x32], local, initialized, needs-padding
Length : min_len:4, max_len:16, stored_len:16
Pad char : 0x00
Reference : 1 (0x01)
Type : ascii-numeric
Path : 3f005015
Private RSA Key [Certificate]
Object Flags : [0x3], private, modifiable
Usage : [0x2E], decrypt, sign, signRecover, unwrap
Access Flags : [0x1D], sensitive, alwaysSensitive, neverExtract, local
ModLength : 2048
Key ref : 0 (0x0)
Native : yes
Path : 3f0050152900
Auth ID : 01
ID : 6f60a9ec01a89e2dabe3e0755d6781e1ac9a0472
MD:guid : {ac74f0b9-6b25-7076-3ca0-34ab579267b6}
:cmap flags : 0x0
:sign : 0
:key-exchange: 0
Private RSA Key [<<rra id>>]
Object Flags : [0x3], private, modifiable
Usage : [0x2E], decrypt, sign, signRecover, unwrap
Access Flags : [0x1D], sensitive, alwaysSensitive, neverExtract, local
ModLength : 2048
Key ref : 1 (0x1)
Native : yes
Path : 3f0050152901
Auth ID : 01
ID : e2e11dffc9b4ff43302dd90a9bacf90889a9fdce
MD:guid : {4311b6d1-65a0-4f4a-9848-d64b85e25677}
:cmap flags : 0x0
:sign : 0
:key-exchange: 0
Private RSA Key [CN=rra]
Object Flags : [0x3], private, modifiable
Usage : [0x2E], decrypt, sign, signRecover, unwrap
Access Flags : [0x1D], sensitive, alwaysSensitive, neverExtract, local
ModLength : 2048
Key ref : 2 (0x2)
Native : yes
Path : 3f0050152902
Auth ID : 02
ID : 15fcdcf3e611d34b6c6692f0bee74b88e5b1f7a2
MD:guid : {2dc955b2-946f-431e-082f-c1a76236ccf8}
:cmap flags : 0x0
:sign : 0
:key-exchange: 0
Public RSA Key [rene]
Object Flags : [0x2], modifiable
Usage : [0xD1], encrypt, wrap, verify, verifyRecover
Access Flags : [0x0]
ModLength : 2048
Key ref : 0 (0x0)
Native : no
Path : 3f0050153000
ID : 6f60a9ec01a89e2dabe3e0755d6781e1ac9a0472
Public RSA Key [<<rra id>>]
Object Flags : [0x2], modifiable
Usage : [0xD1], encrypt, wrap, verify, verifyRecover
Access Flags : [0x0]
ModLength : 2048
Key ref : 0 (0x0)
Native : no
Path : 3f0050153001
ID : e2e11dffc9b4ff43302dd90a9bacf90889a9fdce
Public RSA Key [CN=rra]
Object Flags : [0x2], modifiable
Usage : [0xD1], encrypt, wrap, verify, verifyRecover
Access Flags : [0x0]
ModLength : 2048
Key ref : 0 (0x0)
Native : no
Path : 3f0050153002
ID : 15fcdcf3e611d34b6c6692f0bee74b88e5b1f7a2
X.509 Certificate [Certificate]
Object Flags : [0x2], modifiable
Authority : no
Path : 3f0050153100
ID : 6f60a9ec01a89e2dabe3e0755d6781e1ac9a0472
Encoded serial : 02 01 1A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment