summaryrefslogtreecommitdiff
path: root/security/nss/lib/softoken/sftkdbti.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/lib/softoken/sftkdbti.h')
-rw-r--r--security/nss/lib/softoken/sftkdbti.h33
1 files changed, 7 insertions, 26 deletions
diff --git a/security/nss/lib/softoken/sftkdbti.h b/security/nss/lib/softoken/sftkdbti.h
index eea52c81d3..a3a19414e0 100644
--- a/security/nss/lib/softoken/sftkdbti.h
+++ b/security/nss/lib/softoken/sftkdbti.h
@@ -39,26 +39,16 @@ struct SFTKDBHandleStr {
#define SFTK_GET_SDB(handle) \
((handle)->update ? (handle)->update : (handle)->db)
-SECStatus sftkdb_DecryptAttribute(SFTKDBHandle *handle,
- SECItem *passKey,
- CK_OBJECT_HANDLE id,
- CK_ATTRIBUTE_TYPE attrType,
- SECItem *cipherText, SECItem **plainText);
-SECStatus sftkdb_EncryptAttribute(PLArenaPool *arena,
- SFTKDBHandle *handle, SDB *db,
- SECItem *passKey,
- int iterationCount,
- CK_OBJECT_HANDLE id,
- CK_ATTRIBUTE_TYPE attrType,
- SECItem *plainText, SECItem **cipherText);
-SECStatus sftkdb_SignAttribute(PLArenaPool *arena,
- SFTKDBHandle *handle, SDB *db,
- SECItem *passKey,
+SECStatus sftkdb_DecryptAttribute(SECItem *passKey, SECItem *cipherText,
+ SECItem **plainText);
+SECStatus sftkdb_EncryptAttribute(PLArenaPool *arena, SECItem *passKey,
+ int iterationCount, SECItem *plainText,
+ SECItem **cipherText);
+SECStatus sftkdb_SignAttribute(PLArenaPool *arena, SECItem *passKey,
int iterationCount, CK_OBJECT_HANDLE objectID,
CK_ATTRIBUTE_TYPE attrType,
SECItem *plainText, SECItem **sigText);
-SECStatus sftkdb_VerifyAttribute(SFTKDBHandle *handle,
- SECItem *passKey,
+SECStatus sftkdb_VerifyAttribute(SECItem *passKey,
CK_OBJECT_HANDLE objectID,
CK_ATTRIBUTE_TYPE attrType,
SECItem *plainText, SECItem *sigText);
@@ -69,14 +59,5 @@ CK_RV sftkdb_Update(SFTKDBHandle *handle, SECItem *key);
CK_RV sftkdb_PutAttributeSignature(SFTKDBHandle *handle,
SDB *keyTarget, CK_OBJECT_HANDLE objectID,
CK_ATTRIBUTE_TYPE type, SECItem *signText);
-CK_RV sftkdb_GetAttributeSignature(SFTKDBHandle *handle,
- SFTKDBHandle *keyHandle,
- CK_OBJECT_HANDLE objectID,
- CK_ATTRIBUTE_TYPE type,
- SECItem *signText);
-CK_RV
-sftkdb_DestroyAttributeSignature(SFTKDBHandle *handle, SDB *db,
- CK_OBJECT_HANDLE objectID,
- CK_ATTRIBUTE_TYPE type);
#endif