miocos.profile
来自「读写Smart卡加解密接口的程序」· PROFILE 代码 · 共 54 行
PROFILE
54 行
## PKCS15 r/w profile for MioCOS cards#cardinfo { max-pin-length = 8; pin-encoding = ascii-numeric; pin-pad-char = 0x00;}# Define reasonable limits for PINs and PUK# Note that we do not set a file path or reference# here; that is done dynamically.PIN user-pin { attempts = 3;}PIN user-puk { attempts = 10;}# Additional filesystem info.# This is added to the file system info specified in the# main profile.filesystem { DF MF { DF PKCS15-AppDF { EF template-private-key { type = internal-ef; file-id = 4B01; # This is the base FileID size = 266; # 266 is enough for 1024-bit keys ACL = *=NEVER, CRYPTO=$PIN, UPDATE=$PIN; } EF template-public-key { file-id = 5501; ACL = *=NEVER, READ=NONE, UPDATE=$PIN; } EF template-certificate { file-id = 4301; ACL = *=NEVER, READ=NONE, UPDATE=$PIN; } EF template-extractable-key { file-id = 7000; ACL = *=NEVER, READ=$PIN, UPDATE=$PIN; } } }}# Define an SO pin# This PIN is not used yet.#PIN sopin {# file = sopinfile;# reference = 0;#}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?