OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

pkcs11 message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: A question about C_Finalize


From the Base Specification Version 2.40

In Section 5.4 General-purpose functions, C_Finalize() the following text appears:

"If several applications are using Cryptoki, each one should call C_Finalize. Each application’s call to
C_Finalize should be preceded by a single call to C_Initialize;"

I interpret this to mean: each successful call to C_Initialize should have a matching call to C_Finalize.  What if
the call to C_Initialize returns CKR_ARGUMENTS_BAD or CKR_CRYPTOKI_ALREADY_INITIALIZED, does the application
still call C_Finalize ??

I looked in the User Guide and found nothing to clarify this point.


Thanks,
Mark Joseph




 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]