diff options
author | Rob Austein <sra@hactrn.net> | 2016-08-16 00:02:34 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-08-16 00:02:34 -0400 |
commit | 1d60161a9eae18e339232bed879f0525925e10cb (patch) | |
tree | e04a043c976a5bdabfbaf59a78053e930f23538d /cryptech/py11/constants.py | |
parent | e7ab3272fc7925663ada0169fe65f49773e88881 (diff) |
More pkcs11test fixes: nuanced read-only, error code proliferation.
PKCS #11's notion of a "read-only" session is odd: read-only sessions
can still create/modify/destroy objects, just not "token" objects.
C_SeedRandom() has its own special "nope, didn't implement that" error
code, apparently the one everything else uses wasn't good enough.
C_Login() has different error codes for "you're already logged in" and
"you're already logged in as somebody else".
Diffstat (limited to 'cryptech/py11/constants.py')
0 files changed, 0 insertions, 0 deletions