Searched refs:allowedAlgorithms (Results 1 – 4 of 4) sorted by relevance
113 static ChildSessionParams buildChildSessionParams(List<String> allowedAlgorithms) { in buildChildSessionParams() argument117 for (final ChildSaProposal childProposal : getChildSaProposals(allowedAlgorithms)) { in buildChildSessionParams()198 private static List<ChildSaProposal> getChildSaProposals(List<String> allowedAlgorithms) { in getChildSaProposals() argument202 if (Ikev2VpnProfile.hasNormalModeAlgorithms(allowedAlgorithms)) { in getChildSaProposals()213 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA512)) { in getChildSaProposals()216 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA384)) { in getChildSaProposals()219 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA256)) { in getChildSaProposals()233 if (Ikev2VpnProfile.hasAeadAlgorithms(allowedAlgorithms)) { in getChildSaProposals()
171 List<String> allowedAlgorithms = Arrays.asList(IpSecAlgorithm.AUTH_CRYPT_AES_GCM); in testBuildWithAllowedAlgorithmsAead() local172 builder.setAllowedAlgorithms(allowedAlgorithms); in testBuildWithAllowedAlgorithmsAead()175 assertEquals(allowedAlgorithms, profile.getAllowedAlgorithms()); in testBuildWithAllowedAlgorithmsAead()183 List<String> allowedAlgorithms = in testBuildWithAllowedAlgorithmsNormal() local185 builder.setAllowedAlgorithms(allowedAlgorithms); in testBuildWithAllowedAlgorithmsNormal()188 assertEquals(allowedAlgorithms, profile.getAllowedAlgorithms()); in testBuildWithAllowedAlgorithmsNormal()205 List<String> allowedAlgorithms = new ArrayList<>(); in testSetAllowedAlgorithmsInvalidList() local223 List<String> allowedAlgorithms = new ArrayList<>(); in testSetAllowedAlgorithmsInsecureAlgorithm() local
201 public void setAllowedAlgorithms(List<String> allowedAlgorithms) { in setAllowedAlgorithms() argument202 validateAllowedAlgorithms(allowedAlgorithms); in setAllowedAlgorithms()203 mAllowedAlgorithms = allowedAlgorithms; in setAllowedAlgorithms()430 public static void validateAllowedAlgorithms(List<String> allowedAlgorithms) { in validateAllowedAlgorithms() argument431 for (final String alg : allowedAlgorithms) { in validateAllowedAlgorithms()
119 @NonNull List<String> allowedAlgorithms, in Ikev2VpnProfile() argument128 checkNotNull(allowedAlgorithms, MISSING_PARAM_MSG_TMPL, "Allowed Algorithms"); in Ikev2VpnProfile()142 mAllowedAlgorithms = Collections.unmodifiableList(new ArrayList<>(allowedAlgorithms)); in Ikev2VpnProfile()