summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-05 16:37:29 +0000
committerStef Walter <stef@memberwebs.com>2008-12-05 16:37:29 +0000
commit8ebef7ee31f973b64dce777297cba0b3cfe0f3fe (patch)
tree53ecaacefac2ef75e6a13f59cec53d85ca830e3d /doc
parente0c53da1d03328ea7aa29116c4452c4632f286a2 (diff)
Add support for testing FindObjects.
Diffstat (limited to 'doc')
-rw-r--r--doc/pkcs11-coverage.py3
-rw-r--r--doc/pkcs11-coverage.txt33
2 files changed, 35 insertions, 1 deletions
diff --git a/doc/pkcs11-coverage.py b/doc/pkcs11-coverage.py
index 2184cee..2df744c 100644
--- a/doc/pkcs11-coverage.py
+++ b/doc/pkcs11-coverage.py
@@ -41,7 +41,8 @@ for file in files:
continue
section = match
- coverage[section] = []
+ if section not in coverage:
+ coverage[section] = []
sections = coverage.keys()
sections.sort()
diff --git a/doc/pkcs11-coverage.txt b/doc/pkcs11-coverage.txt
index e5e9847..295df9f 100644
--- a/doc/pkcs11-coverage.txt
+++ b/doc/pkcs11-coverage.txt
@@ -18,11 +18,40 @@ C_CloseSession
- Check open session was closed
- Close twice
+C_CopyObject
+- Not Implemented
+
+C_CreateObject
+- Not Implemented
+
+C_DestroyObject
+- Not Implemented
+
C_Finalize
- With invalid argument
- Normal call
- Double finalize in a row
+C_FindObjects
+- Invalid session
+- Null object count
+- Retrieve count of objects, using NULL buffer
+- Retrieve count of objects
+- Retrieve a single object before remainder
+- Retrieve remaining objects
+- Extra call after retrieving all objects.
+- Out of order call
+
+C_FindObjectsFinal
+- Invalid session
+- Normal call
+- Extra call
+
+C_FindObjectsInit
+- Invalid session
+- Attribute count without buffer
+- Double call.
+
C_GetFunctionList
- See if returns same data as library entry point
@@ -95,6 +124,10 @@ C_Initialize
- Double initialize in a row
C_Login
+- Invalid session
+- Invalid user type
+- Normal login
+- Login changes all session state
- Login as SO not allowed with RO session
- Login as SO
- Login changes all session state