try to avoid conflicts with file ids of different file types

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1979 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
nils 2004-11-12 16:59:09 +00:00
parent fe89863e92
commit 0370a53204
1 changed files with 5 additions and 5 deletions

View File

@ -42,7 +42,7 @@ filesystem {
# part, so it's okay to set READ=NONE. What's more, we may need # part, so it's okay to set READ=NONE. What's more, we may need
# read access so we're able to check the key size/type. # read access so we're able to check the key size/type.
EF private-key { EF private-key {
file-id = 3000; # This is the base FileID file-id = 3010; # This is the base FileID
structure = 0x2C; # GPK specific structure = 0x2C; # GPK specific
ACL = *=NEVER, ACL = *=NEVER,
READ=NONE, READ=NONE,
@ -54,7 +54,7 @@ filesystem {
# Extractable private keys are stored in transparent EFs. # Extractable private keys are stored in transparent EFs.
# Encryption of the content is performed by libopensc. # Encryption of the content is performed by libopensc.
EF extractable-key { EF extractable-key {
file-id = 3001; file-id = 3100;
structure = transparent; structure = transparent;
ACL = *=NEVER, ACL = *=NEVER,
READ=$PIN, READ=$PIN,
@ -64,7 +64,7 @@ filesystem {
# data objects are stored in transparent EFs. # data objects are stored in transparent EFs.
EF data { EF data {
file-id = 3002; file-id = 3200;
structure = transparent; structure = transparent;
ACL = *=NEVER, ACL = *=NEVER,
READ=NONE, READ=NONE,
@ -73,14 +73,14 @@ filesystem {
} }
EF public-key { EF public-key {
file-id = 3003; file-id = 3300;
structure = transparent; structure = transparent;
ACL = *=NONE; ACL = *=NONE;
} }
# Certificate template # Certificate template
EF certificate { EF certificate {
file-id = 3004; file-id = 3400;
structure = transparent; structure = transparent;
ACL = *=NONE; ACL = *=NONE;
} }