User Guide
DDOC0108-000-A2
CNS4 CSfC
5 - 13
Quick Start
Revision 1.0
3. Verify HMAC.
cns>
cm_crypto -t
49db8e13c3cd7461bace801e06d9152b0cf283d6bd42fa8082115a7b86705aff8acde8bf
27b58faa -k
e7f1d995bf53556836490b5dea45ec1261a5d1a2e515f003286152fada7c2321
[cm_crypto]
text=0x49db8e13c3cd7461bace801e06d9152b0cf283d6bd42fa8082115a7b86705aff8
acde8bf27b58faa
key=0xe7f1d995bf53556836490b5dea45ec1261a5d1a2e515f003286152fada7c2321
hmac_output=0xd07babac2eb88c883b3ed0c27ed317676a35bd5f5247d4fec38df4fd67
531d8d
[!cm_crypto]
4. Decrypt User Token.
cns>
cm_crypto -c
49db8e13c3cd7461bace801e06d9152b0cf283d6bd42fa8082115a7b86705aff8acde8bf
27b58faa -k
e7f1d995bf53556836490b5dea45ec1261a5d1a2e515f003286152fada7c2321
[cm_crypto]
ciphertext=0x49db8e13c3cd7461bace801e06d9152b0cf283d6bd42fa8082115a7b867
05aff8acde8bf27b58faa
key=0xe7f1d995bf53556836490b5dea45ec1261a5d1a2e515f003286152fada7c2321
keyunwrap_output=0x7b4398e2f5d89257b54656101d9d0ed335f54a74e8121ae48dc77
75f785707d4
[!cm_crypto]
5. Login.
cns>
cm_login -u user -p Password1
[cm_login]
challenge_nonce=0x57a1d98f7a6ada0a60d04c87194fe3a0ae334a73ad6a00a70f2abe
bd2452dfe53a51d68d1a3282b10051e8fb05e36de9b738b8f4e142b59f2f081cd1fd73f9
b0
status=OK
[!cm_login]
6. Generate User Authentication Token (UAT).
cns>
cm_crypto -t
57a1d98f7a6ada0a60d04c87194fe3a0ae334a73ad6a00a70f2abebd2452dfe53a51d68d
1a3282b10051e8fb05e36de9b738b8f4e142b59f2f081cd1fd73f9b0 -k
7b4398e2f5d89257b54656101d9d0ed335f54a74e8121ae48dc7775f785707d4
[cm_crypto]
text=0x57a1d98f7a6ada0a60d04c87194fe3a0ae334a73ad6a00a70f2abebd2452dfe53
a51d68d1a3282b10051e8fb05e36de9b738b8f4e142b59f2f081cd1fd73f9b0
key=0x7b4398e2f5d89257b54656101d9d0ed335f54a74e8121ae48dc7775f785707d4
hmac_output=0xd6dac2ae685ce4adb776e0a27a69a0632ffe0ba8461c1d29b51388ae7b
69937a
[!cm_crypto]
7. Login using the UAT.
cns>
cm_login --hmac
d6dac2ae685ce4adb776e0a27a69a0632ffe0ba8461c1d29b51388ae7b69937a
[cm_login]
challenge_hmac=0xd6dac2ae685ce4adb776e0a27a69a0632ffe0ba8461c1d29b51388a
e7b69937a
status=OK
[!cm_login]