@Test public void convert() { CertRequestInfo certRequestInfo = new CertRequestInfo("id", ClientId.create("a", "b", "c"), "subject-name"); TokenCertificateSigningRequest csr = csrConverter.convert(certRequestInfo); assertEquals("id", csr.getId()); assertEquals("a:b:c", csr.getOwnerId()); }
public TokenCertificateSigningRequest convert(CertRequestInfo csrInfo, KeyInfo keyInfo, TokenInfo tokenInfo) { TokenCertificateSigningRequest request = convert(csrInfo); request.setPossibleActions(possibleActionConverter.convert( possibleActionsRuleEngine.getPossibleCsrActions( tokenInfo))); return request; }
TokenCertificateSigningRequestConverter { public TokenCertificateSigningRequest convert(CertRequestInfo csrInfo, KeyInfo keyInfo, TokenInfo tokenInfo) { TokenCertificateSigningRequest request = convert(csrInfo); request.setPossibleActions(possibleActionConverter.convert( possibleActionsRuleEngine.getPossibleCsrActions( tokenInfo))); return request; } }
TokenCertificateSigningRequestConverter { public TokenCertificateSigningRequest convert(CertRequestInfo csrInfo, KeyInfo keyInfo, TokenInfo tokenInfo) { TokenCertificateSigningRequest request = convert(csrInfo); request.setPossibleActions(possibleActionConverter.convert( possibleActionsRuleEngine.getPossibleCsrActions( tokenInfo))); return request; } @Autowired  TokenCertificateSigningRequestConverter(ClientConverter clientConverter,
            PossibleActionsRuleEngine possibleActionsRuleEngine,
            PossibleActionConverter possibleActionConverter); }
TokenCertificateSigningRequestConverter { public TokenCertificateSigningRequest convert(CertRequestInfo csrInfo, KeyInfo keyInfo, TokenInfo tokenInfo) { TokenCertificateSigningRequest request = convert(csrInfo); request.setPossibleActions(possibleActionConverter.convert( possibleActionsRuleEngine.getPossibleCsrActions( tokenInfo))); return request; } @Autowired  TokenCertificateSigningRequestConverter(ClientConverter clientConverter,
            PossibleActionsRuleEngine possibleActionsRuleEngine,
            PossibleActionConverter possibleActionConverter); TokenCertificateSigningRequest convert(CertRequestInfo csrInfo,
            KeyInfo keyInfo,
            TokenInfo tokenInfo); TokenCertificateSigningRequest convert(CertRequestInfo csrInfo); List<TokenCertificateSigningRequest> convert(Iterable<CertRequestInfo> csrInfos); List<TokenCertificateSigningRequest> convert(Iterable<CertRequestInfo> csrInfos,
            KeyInfo keyInfo,
            TokenInfo tokenInfo); }
TokenCertificateSigningRequestConverter { public TokenCertificateSigningRequest convert(CertRequestInfo csrInfo, KeyInfo keyInfo, TokenInfo tokenInfo) { TokenCertificateSigningRequest request = convert(csrInfo); request.setPossibleActions(possibleActionConverter.convert( possibleActionsRuleEngine.getPossibleCsrActions( tokenInfo))); return request; } @Autowired  TokenCertificateSigningRequestConverter(ClientConverter clientConverter,
            PossibleActionsRuleEngine possibleActionsRuleEngine,
            PossibleActionConverter possibleActionConverter); TokenCertificateSigningRequest convert(CertRequestInfo csrInfo,
            KeyInfo keyInfo,
            TokenInfo tokenInfo); TokenCertificateSigningRequest convert(CertRequestInfo csrInfo); List<TokenCertificateSigningRequest> convert(Iterable<CertRequestInfo> csrInfos); List<TokenCertificateSigningRequest> convert(Iterable<CertRequestInfo> csrInfos,
            KeyInfo keyInfo,
            TokenInfo tokenInfo);  }