summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-05 01:25:45 +0000
committerStef Walter <stef@memberwebs.com>2008-12-05 01:25:45 +0000
commit8184a9487d71af2eb7af2bd0bab3022d39995633 (patch)
tree95cf1fda6cb525793749af38d9e2396374c4bf51 /doc
parentfb19dad45d9961903b947d77af52d12e928df342 (diff)
Add basic session tests.
Diffstat (limited to 'doc')
-rw-r--r--doc/pkcs11-coverage.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/pkcs11-coverage.txt b/doc/pkcs11-coverage.txt
index 538d487..b864f49 100644
--- a/doc/pkcs11-coverage.txt
+++ b/doc/pkcs11-coverage.txt
@@ -6,6 +6,18 @@ This is the test coverage of the p11-tests tool of the PKCS#11 interface.
We're anxious to complete this, if you have patches please do contribute.
+C_CloseAllSessions
+- Invalid slot id
+- Normal call
+- Check open session was closed
+- Call when no sessions open
+
+C_CloseSession
+- Invalid session
+- Normal call
+- Check open session was closed
+- Close twice
+
C_Finalize
- Normal call
- Double finalize in a row
@@ -32,6 +44,14 @@ C_GetMechanismList
- Zero count but buffer present
- Low count but buffer present
+C_GetSessionInfo
+- Invalid session
+- NULL arguments
+- Valid call
+- Valid slot id
+- Valid state for session
+- Valid flags for session
+
C_GetSlotInfo
- NULL argument
- Normal call
@@ -54,6 +74,12 @@ C_GetTokenInfo
- Validate token time when CKF_CLOCK_ON_TOKEN
- Calling on slot without token
+C_InitPIN
+- Not Implemented
+
+C_InitToken
+- Not Implemented
+
C_Initialize
- Normal call
- Locking: no threads
@@ -65,6 +91,17 @@ C_Initialize
- Multiple initialize with C_Finalize between
- Double initialize in a row
+C_OpenSession
+- Invalid slot
+- Null arguments
+- No flags
+- Without serial flag
+- Valid flags
+- Read write session
+
+C_SetPIN
+- Not Implemented
+
C_WaitForSlotEvent
- Not Implemented