pkcs11: Use create_object_attr_enumerator to encode RSA public key.