Searched refs:allowedAlgorithms (Results 1 – 4 of 4) sorted by relevance
123 static ChildSessionParams buildChildSessionParams(List<String> allowedAlgorithms) { in buildChildSessionParams() argument127 for (final ChildSaProposal childProposal : getChildSaProposals(allowedAlgorithms)) { in buildChildSessionParams()220 private static List<ChildSaProposal> getChildSaProposals(List<String> allowedAlgorithms) { in getChildSaProposals() argument227 if (Ikev2VpnProfile.hasNormalModeAlgorithms(allowedAlgorithms)) { in getChildSaProposals()233 if (allowedAlgorithms.contains(IpSecAlgorithm.CRYPT_AES_CTR)) { in getChildSaProposals()236 if (allowedAlgorithms.contains(IpSecAlgorithm.CRYPT_AES_CBC)) { in getChildSaProposals()243 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA512)) { in getChildSaProposals()246 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA384)) { in getChildSaProposals()249 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA256)) { in getChildSaProposals()252 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_AES_XCBC)) { in getChildSaProposals()[all …]
171 List<String> allowedAlgorithms = in testBuildWithAllowedAlgorithmsAead() local175 builder.setAllowedAlgorithms(allowedAlgorithms); in testBuildWithAllowedAlgorithmsAead()178 assertEquals(allowedAlgorithms, profile.getAllowedAlgorithms()); in testBuildWithAllowedAlgorithmsAead()186 List<String> allowedAlgorithms = in testBuildWithAllowedAlgorithmsNormal() local193 builder.setAllowedAlgorithms(allowedAlgorithms); in testBuildWithAllowedAlgorithmsNormal()196 assertEquals(allowedAlgorithms, profile.getAllowedAlgorithms()); in testBuildWithAllowedAlgorithmsNormal()
155 @NonNull List<String> allowedAlgorithms, in Ikev2VpnProfile() argument167 checkNotNull(allowedAlgorithms, MISSING_PARAM_MSG_TMPL, "Allowed Algorithms"); in Ikev2VpnProfile()181 mAllowedAlgorithms = Collections.unmodifiableList(new ArrayList<>(allowedAlgorithms)); in Ikev2VpnProfile()
241 public void setAllowedAlgorithms(List<String> allowedAlgorithms) { in setAllowedAlgorithms() argument242 mAllowedAlgorithms = allowedAlgorithms; in setAllowedAlgorithms()