Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpSecConfig.java52 private IpSecAlgorithm mEncryption;
55 private IpSecAlgorithm mAuthentication;
58 private IpSecAlgorithm mAuthenticatedEncryption;
97 public void setEncryption(IpSecAlgorithm encryption) { in setEncryption()
102 public void setAuthentication(IpSecAlgorithm authentication) { in setAuthentication()
107 public void setAuthenticatedEncryption(IpSecAlgorithm authenticatedEncryption) { in setAuthenticatedEncryption()
173 public IpSecAlgorithm getEncryption() { in getEncryption()
177 public IpSecAlgorithm getAuthentication() { in getAuthentication()
181 public IpSecAlgorithm getAuthenticatedEncryption() { in getAuthenticatedEncryption()
273 (IpSecAlgorithm) in.readParcelable(IpSecAlgorithm.class.getClassLoader()); in IpSecConfig()
[all …]
DIpSecAlgorithm.java44 public final class IpSecAlgorithm implements Parcelable { class
260 public IpSecAlgorithm(@NonNull @AlgorithmName String algorithm, @NonNull byte[] key) { in IpSecAlgorithm() method in IpSecAlgorithm
276 public IpSecAlgorithm( in IpSecAlgorithm() method in IpSecAlgorithm
314 public static final @android.annotation.NonNull Parcelable.Creator<IpSecAlgorithm> CREATOR =
315 new Parcelable.Creator<IpSecAlgorithm>() {
316 public IpSecAlgorithm createFromParcel(Parcel in) {
321 return new IpSecAlgorithm(name, key, truncLenBits);
324 public IpSecAlgorithm[] newArray(int size) {
325 return new IpSecAlgorithm[size];
495 public static boolean equals(IpSecAlgorithm lhs, IpSecAlgorithm rhs) { in equals()
DIkev2VpnProfile.java19 import static android.net.IpSecAlgorithm.AUTH_AES_CMAC;
20 import static android.net.IpSecAlgorithm.AUTH_AES_XCBC;
21 import static android.net.IpSecAlgorithm.AUTH_CRYPT_AES_GCM;
22 import static android.net.IpSecAlgorithm.AUTH_CRYPT_CHACHA20_POLY1305;
23 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA256;
24 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA384;
25 import static android.net.IpSecAlgorithm.AUTH_HMAC_SHA512;
26 import static android.net.IpSecAlgorithm.CRYPT_AES_CBC;
27 import static android.net.IpSecAlgorithm.CRYPT_AES_CTR;
86 if (IpSecAlgorithm.getSupportedAlgorithms().contains(ipSecAlgoName)) { in addAlgorithmIfSupported()
[all …]
DIpSecTransform.java256 public IpSecTransform.Builder setEncryption(@NonNull IpSecAlgorithm algo) { in setEncryption()
271 public IpSecTransform.Builder setAuthentication(@NonNull IpSecAlgorithm algo) { in setAuthentication()
292 public IpSecTransform.Builder setAuthenticatedEncryption(@NonNull IpSecAlgorithm algo) { in setAuthenticatedEncryption()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java51 import android.net.IpSecAlgorithm;
228 if (allowedAlgorithms.contains(IpSecAlgorithm.CRYPT_AES_CTR)) { in getChildSaProposals()
231 if (allowedAlgorithms.contains(IpSecAlgorithm.CRYPT_AES_CBC)) { in getChildSaProposals()
238 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA512)) { in getChildSaProposals()
241 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA384)) { in getChildSaProposals()
244 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_HMAC_SHA256)) { in getChildSaProposals()
247 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_AES_XCBC)) { in getChildSaProposals()
250 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_AES_CMAC)) { in getChildSaProposals()
267 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_CRYPT_CHACHA20_POLY1305)) { in getChildSaProposals()
271 if (allowedAlgorithms.contains(IpSecAlgorithm.AUTH_CRYPT_AES_GCM)) { in getChildSaProposals()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java36 import android.net.IpSecAlgorithm;
1510 IpSecAlgorithm auth = config.getAuthentication(); in validateAlgorithms()
1511 IpSecAlgorithm crypt = config.getEncryption(); in validateAlgorithms()
1512 IpSecAlgorithm aead = config.getAuthenticatedEncryption(); in validateAlgorithms()
1661 IpSecAlgorithm auth = c.getAuthentication(); in createOrUpdateTransform()
1662 IpSecAlgorithm crypt = c.getEncryption(); in createOrUpdateTransform()
1663 IpSecAlgorithm authCrypt = c.getAuthenticatedEncryption(); in createOrUpdateTransform()
1667 cryptName = (authCrypt == null) ? IpSecAlgorithm.CRYPT_NULL : ""; in createOrUpdateTransform()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt35917 Landroid/net/IpSecAlgorithm;->checkValidOrThrow(Ljava/lang/String;II)V
35918 Landroid/net/IpSecAlgorithm;->CRYPT_NULL:Ljava/lang/String;
35919 Landroid/net/IpSecAlgorithm;->equals(Landroid/net/IpSecAlgorithm;Landroid/net/IpSecAlgorithm;)Z
35920 Landroid/net/IpSecAlgorithm;->isAead()Z
35921 Landroid/net/IpSecAlgorithm;->isAuthentication()Z
35922 Landroid/net/IpSecAlgorithm;->isEncryption()Z
35923 Landroid/net/IpSecAlgorithm;->isUnsafeBuild()Z
35924 Landroid/net/IpSecAlgorithm;->mKey:[B
35925 Landroid/net/IpSecAlgorithm;->mName:Ljava/lang/String;
35926 Landroid/net/IpSecAlgorithm;->mTruncLenBits:I
[all …]
/frameworks/base/core/api/
Dcurrent.txt26344 public final class IpSecAlgorithm implements android.os.Parcelable {
26345 ctor public IpSecAlgorithm(@NonNull String, @NonNull byte[]);
26346 ctor public IpSecAlgorithm(@NonNull String, @NonNull byte[], int);
26362 …field @NonNull public static final android.os.Parcelable.Creator<android.net.IpSecAlgorithm> CREAT…
26407 …android.net.IpSecTransform.Builder setAuthenticatedEncryption(@NonNull android.net.IpSecAlgorithm);
26408 …l public android.net.IpSecTransform.Builder setAuthentication(@NonNull android.net.IpSecAlgorithm);
26409 …nNull public android.net.IpSecTransform.Builder setEncryption(@NonNull android.net.IpSecAlgorithm);
/frameworks/base/services/
Dart-profile1875 …android/net/Network;Landroid/net/Network;]Landroid/net/IpSecAlgorithm;Landroid/net/IpSecAlgorithm;…
1895 …teAlgorithms(Landroid/net/IpSecConfig;)V+]Landroid/net/IpSecAlgorithm;Landroid/net/IpSecAlgorithm;…
/frameworks/base/boot/
Dboot-image-profile.txt28274 Landroid/net/IpSecAlgorithm;
/frameworks/base/config/
Dboot-image-profile.txt37911 Landroid/net/IpSecAlgorithm;