The PKCS11 provider document makes a statement about the delayed selection mechanism which is inconsistent with the implementation. It claims that for Cipher, KeyAgreement, Mac, etc.: If an application calls the initialization method multiple times (each time with a different key, for example), the proper provider for the given key is selected each time. In other words, a different provider may be selected for each initialization call.
|