mrhsm dump

Dumps the contents of the PKCS#11 KMIP token.

Use the mrhsm dump command to dump the contents of the PKCS#11 KMIP token. This is helpful when debugging the PKCS#11 configuration.

Syntax

# mrhsm dump -path

Parameters

path
The directory in which the dump should be written. The format of the path is /opt/mapr/conf/tokens/<token-dir/token.object

Example

# mrhsm dump -path /opt/mapr/conf/tokens/69255cf4-0ac3-8d22-b12c-fd503a740cda/token.object 
File to dump is /opt/mapr/conf/tokens/69255cf4-0ac3-8d22-b12c-fd503a740cda/token.object
Dump of object file "XDG_SESSION_ID=1049"
00 00 00 00 00 00 00 09 generation 9
00 00 00 00 80 00 53 4a CKA_OS_TOKENLABEL
00 00 00 00 00 00 00 03 byte string attribute
00 00 00 00 00 00 00 20 (length 32)
55 74 69 6d 61 63 6f 20 <Utimaco.>
45 53 4b 4d 20 20 20 20 <ESKM....>
20 20 20 20 20 20 20 20 <........>
20 20 20 20 20 20 20 20 <........>
00 00 00 00 80 00 53 4b CKA_OS_TOKENSERIAL
00 00 00 00 00 00 00 03 byte string attribute
00 00 00 00 00 00 00 10 (length 16)
62 31 32 63 66 64 35 30 <b12cfd50>
33 61 37 34 30 63 64 61 <3a740cda>
00 00 00 00 80 00 53 4c CKA_OS_TOKENFLAGS
00 00 00 00 00 00 00 02 unsigned long attribute
00 00 00 00 00 00 04 2d CK_ULONG 1069(0x42d)
00 00 00 00 80 00 53 4d CKA_OS_SOPIN
00 00 00 00 00 00 00 03 byte string attribute
00 00 00 00 00 00 00 48 (length 72)
5d 83 76 d1 dc 57 58 79 <].v..WXy>
2b 95 4e 8e 08 63 b4 d0 <+.N..c..>
34 44 ed 01 9f f8 38 a8 <4D....8.>
93 38 ea 21 32 e1 3e e5 <.8.!2.>.>
d8 c5 80 9c 24 11 3d 89 <....$.=.>
1b a8 de f2 69 cf 6a 34 <....i.j4>
ee 18 dd 0b 0a 2e df 72 <.......r>
2f 9b 30 cc f4 8b 82 87 </.0.....>
68 8c 76 56 cd eb 5b 60 <h.vV..[`>
00 00 00 00 80 00 53 4e CKA_OS_USERPIN
00 00 00 00 00 00 00 03 byte string attribute
00 00 00 00 00 00 00 48 (length 72)
ad cf d3 41 81 9b e1 32 <...A...2>
e3 b9 ba 10 17 5e 7a 12 <.....^z.>
b6 4b 53 28 25 c6 00 de <.KS(%...>
7b 0c 78 4a b3 f0 32 f8 <{.xJ..2.>
04 55 10 c8 16 48 ac be <.U...H..>
95 d0 0d 91 7d 90 4e f1 <....}.N.>
7d 8a c6 01 64 f0 c0 99 <}...d...>
3f 3b 92 65 a2 d2 d1 3a <?;.e...:>
7c c4 5c 91 ca 6b fc 34 <|.\..k.4>