Ikev2VpnProfile.Builder.SetAllowedAlgorithms(IList<String>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit les algorithmes IPsec autorisés pour le VPN.
[Android.Runtime.Register("setAllowedAlgorithms", "(Ljava/util/List;)Landroid/net/Ikev2VpnProfile$Builder;", "", ApiSince=30)]
public Android.Net.Ikev2VpnProfile.Builder SetAllowedAlgorithms(System.Collections.Generic.IList<string> algorithmNames);
[<Android.Runtime.Register("setAllowedAlgorithms", "(Ljava/util/List;)Landroid/net/Ikev2VpnProfile$Builder;", "", ApiSince=30)>]
member this.SetAllowedAlgorithms : System.Collections.Generic.IList<string> -> Android.Net.Ikev2VpnProfile.Builder
Paramètres
Liste non null contenant l’authentification et les algorithmes de chiffrement, ou un algorithme de chiffrement authentifié qui fournit les deux.
Retours
Ce générateur.
- Attributs
Remarques
Les algorithmes non sécurisés et AUTH_HMAC_SHA1 non sécurisés AUTH_HMAC_MD5 sont rejetés. Sans cet appel, tous les algorithmes pris en charge, sauf les algorithmes non sécurisés sont autorisés. Cette méthode lève IllegalArgumentException lorsque ce générateur a été construit avec IkeTunnelConnectionParams.
Java documentation pour android.net.Ikev2VpnProfile.Builder.setAllowedAlgorithms(java.util.List).