class PossibleActionsRuleEngine {

    public EnumSet<PossibleActionEnum> getPossibleCsrActions(TokenInfo tokenInfo) {
        EnumSet<PossibleActionEnum> actions = EnumSet.noneOf(PossibleActionEnum.class);

        if (canDeleteCertOrCsr(tokenInfo, true, false)) {
            actions.add(PossibleActionEnum.DELETE);
        }
        return actions;
    }

}