mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-14 12:26:18 +08:00
Update some demos
This commit is contained in:
18
demos/sdf/sdf-dev.sh
Executable file
18
demos/sdf/sdf-dev.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
|
||||
SO_PATH="./libsdf.so"
|
||||
|
||||
echo "[Commands]"
|
||||
gmssl engine sdf -vvvv
|
||||
echo "[Capabilities]"
|
||||
gmssl engine sdf -c
|
||||
|
||||
echo "[Change Device Label and Auth key]"
|
||||
gmssl engine sdf -pre SO_PATH:$SO_PATH -pre OPEN_DEV
|
||||
#gmssl engine sdf -pre SO_PATH:$SO_PATH -pre OPEN_DEV -pre OPEN_CONTAINER:1
|
||||
|
||||
echo "[Import/Export File]"
|
||||
gmssl engine sdf -pre SO_PATH:$SO_PATH -pre IMPORT_FILE:localhost-signcer.pem
|
||||
|
||||
|
||||
Reference in New Issue
Block a user