This update adds support for the CKM_RSA_X_509 mechanism as a replacement for CKM_RSA_OAEP. Not all token manufacturers fully implement the CKM_RSA_OAEP mechanism (for example, SoftHSM throws an error when using the label parameter). Therefore, if the token supports CKM_RSA_X_509, the library will use this mechanism for its own implementation of RSA-OAEP encryption. Otherwise, CKM_RSA_OAEP will be used, as it was before.
Coverage: 87.455% (-0.02%) from 87.476% when pulling 84ee02705ffcf74b7230b836c1feb12beae7c5f5 on rsa-oaep into 081415e1dd10d75c5177cd1f4a62e7dc75df5b29 on master.
This update adds support for the
CKM_RSA_X_509
mechanism as a replacement forCKM_RSA_OAEP
. Not all token manufacturers fully implement theCKM_RSA_OAEP
mechanism (for example, SoftHSM throws an error when using the label parameter). Therefore, if the token supportsCKM_RSA_X_509
, the library will use this mechanism for its own implementation of RSA-OAEP encryption. Otherwise,CKM_RSA_OAEP
will be used, as it was before.