class TokenCertificateSigningRequestConverter {

    public TokenCertificateSigningRequest convert(CertRequestInfo csrInfo) {
        TokenCertificateSigningRequest request = new TokenCertificateSigningRequest();
        request.setId(csrInfo.getId());
        if (csrInfo.getMemberId() != null) {
            request.setOwnerId(clientConverter.convertId(csrInfo.getMemberId()));
        }
        return request;
    }

    @Autowired public  TokenCertificateSigningRequestConverter(ClientConverter clientConverter);

}