Home
last modified time | relevance | path

Searched refs:algorithmNames (Results 1 – 1 of 1) sorted by relevance

/aosp12/frameworks/base/core/java/android/net/
H A DIkev2VpnProfile.java224 if (algorithmNames.contains(IpSecAlgorithm.AUTH_HMAC_MD5) in validateAllowedAlgorithms()
225 || algorithmNames.contains(IpSecAlgorithm.AUTH_HMAC_SHA1)) { in validateAllowedAlgorithms()
230 if (hasAeadAlgorithms(algorithmNames) || hasNormalModeAlgorithms(algorithmNames)) { in validateAllowedAlgorithms()
242 public static boolean hasAeadAlgorithms(@NonNull List<String> algorithmNames) { in hasAeadAlgorithms() argument
243 return algorithmNames.contains(IpSecAlgorithm.AUTH_CRYPT_AES_GCM); in hasAeadAlgorithms()
254 || algorithmNames.contains(IpSecAlgorithm.AUTH_HMAC_SHA384) in hasNormalModeAlgorithms()
255 || algorithmNames.contains(IpSecAlgorithm.AUTH_HMAC_SHA512); in hasNormalModeAlgorithms()
880 public Builder setAllowedAlgorithms(@NonNull List<String> algorithmNames) { in setAllowedAlgorithms() argument
881 checkNotNull(algorithmNames, MISSING_PARAM_MSG_TMPL, "algorithmNames"); in setAllowedAlgorithms()
882 validateAllowedAlgorithms(algorithmNames); in setAllowedAlgorithms()
[all …]