class TokenCertificateConverter {

    public TokenCertificate convert(CertificateInfo certificateInfo,
            KeyInfo keyInfo,
            TokenInfo tokenInfo) {
        TokenCertificate tokenCertificate = convert(certificateInfo);
        tokenCertificate.setPossibleActions(possibleActionConverter.convert(
                possibleActionsRuleEngine.getPossibleCertificateActions(
                        tokenInfo, keyInfo, certificateInfo)));
        return tokenCertificate;
    }

    @Autowired public  TokenCertificateConverter(CertificateDetailsConverter certificateDetailsConverter,
            ClientConverter clientConverter,
            PossibleActionsRuleEngine possibleActionsRuleEngine,
            PossibleActionConverter possibleActionConverter);

}