There can be other certificate types than CKC_X_509
Remember this todo. See SOFTHSM-46 for more details.