From 12f51b330763bd120f9681e853c82db1a8835a23 Mon Sep 17 00:00:00 2001 From: Keisuke Miyako Date: Wed, 11 Dec 2024 12:19:06 +0900 Subject: [PATCH] Update README.md --- README.md | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 8885666..dc1f4e7 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,21 @@ CLIプログラム単体のダウンロードは[こちら](https://github.com/miyako/hpki/releases/tag/bin-1.0.0) +``` +usage: hpki [options...] +-c, --certificate type: print certificate +-s, --sign type: sign document +-o, --output path: output file path +-p, --pin4 val: specify scard short pin +-P, --pin6 val: specify scard long pin +-r, --reader val: specify scard reader +-m, --mynumber: print personal identification number +-i, --myinfo: print basic personal information +-l, --list: print scard readers +-a, --algorithm: digest info hash algorithm (sha1,sha256,sha384,sha512) +-v, --version: show version information +``` + ## dependencies.json ```json @@ -26,20 +41,6 @@ CLIプログラム単体のダウンロードは[こちら](https://github.com/m -``` -usage: hpki [options...] --c, --certificate type: print certificate --s, --sign type: sign document --o, --output path: output file path --p, --pin4 val: specify scard short pin --P, --pin6 val: specify scard long pin --r, --reader val: specify scard reader --m, --mynumber: print personal identification number --i, --myinfo: print basic personal information --l, --list: print scard readers --v, --version: show version information -``` - ### 認証用証明書を取得する **原則** 医師会カードは証明書の取得に暗証番号は不要・署名4桁。マイナンバーカードは証明書の取得に暗証番号が必要・認証4桁・署名6桁。