class TokenCertificateSigningRequestConverter {

    public TokenCertificateSigningRequest convert(CertRequestInfo csrInfo,
            KeyInfo keyInfo,
            TokenInfo tokenInfo) {
        TokenCertificateSigningRequest request = convert(csrInfo);
        request.setPossibleActions(possibleActionConverter.convert(
                possibleActionsRuleEngine.getPossibleCsrActions(
                        tokenInfo)));
        return request;
    }

    @Autowired public  TokenCertificateSigningRequestConverter(ClientConverter clientConverter,
            PossibleActionsRuleEngine possibleActionsRuleEngine,
            PossibleActionConverter possibleActionConverter);

}