Home
last modified time | relevance | path

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

/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/
H A DIkeKeyIdIdentification.java35 public final class IkeKeyIdIdentification extends IkeIdentification { class
45 public IkeKeyIdIdentification(@NonNull byte[] keyId) { in IkeKeyIdIdentification() method in IkeKeyIdIdentification
56 public static IkeKeyIdIdentification fromPersistableBundle(@NonNull PersistableBundle in) { in fromPersistableBundle()
62 return new IkeKeyIdIdentification(PersistableBundleUtils.toByteArray(keyIdBundle)); in fromPersistableBundle()
87 if (!(o instanceof IkeKeyIdIdentification)) return false; in equals()
90 return Arrays.equals(keyId, ((IkeKeyIdIdentification) o).keyId); in equals()
H A DIkeIdentification.java120 return IkeKeyIdIdentification.fromPersistableBundle(in); in fromPersistableBundle()
/aosp12/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
H A DIkeIdentificationUtils.java28 import android.net.ipsec.ike.IkeKeyIdIdentification;
89 } else if (ikeId instanceof IkeKeyIdIdentification) { in toPersistableBundle()
91 IkeKeyIdIdentification id = (IkeKeyIdIdentification) ikeId; in toPersistableBundle()
136 return new IkeKeyIdIdentification(PersistableBundleUtils.toByteArray(keyIdBundle)); in fromPersistableBundle()
/aosp12/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
H A DIkeIdentificationTest.java26 import android.net.ipsec.ike.IkeKeyIdIdentification;
66 IkeKeyIdIdentification ikeId = new IkeKeyIdIdentification(LOCAL_KEY_ID); in testIkeKeyIdIdentification()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeIdPayloadTest.java29 import android.net.ipsec.test.ike.IkeKeyIdIdentification;
165 IkeKeyIdIdentification ikeId = (IkeKeyIdIdentification) payload.ikeId; in testDecodeKeyIdPayload()
262 new IkeIdPayload(true /*isInitiator*/, new IkeKeyIdIdentification(KEY_ID)); in testConstructAndEncodeKeyIdPayload()
315 verifyPersistableBundleEncodeDecodeIsLossless(new IkeKeyIdIdentification(KEY_ID)); in testPersistableBundleEncodeDecodeKeyId()
/aosp12/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/
H A DIkeIdentificationUtilsTest.java26 import android.net.ipsec.ike.IkeKeyIdIdentification;
78 new IkeKeyIdIdentification("androidIkeKeyId".getBytes())); in testPersistableBundleEncodeDecodeKeyId()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeIdPayload.java24 import android.net.ipsec.ike.IkeKeyIdIdentification;
94 ikeId = new IkeKeyIdIdentification(idData); in IkeIdPayload()
/aosp12/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpnIkev2Utils.java64 import android.net.ipsec.ike.IkeKeyIdIdentification;
410 return new IkeKeyIdIdentification(HexDump.hexStringToByteArray(hexStr)); in parseIkeIdentification()
435 return new IkeKeyIdIdentification(identityStr.getBytes()); in parseIkeIdentification()
/aosp12/packages/modules/IPsec/api/
H A Dcurrent.txt124 public final class IkeKeyIdIdentification extends android.net.ipsec.ike.IkeIdentification {
125 ctor public IkeKeyIdIdentification(@NonNull byte[]);
/aosp12/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
H A DEpdgTunnelManager.java38 import android.net.ipsec.ike.IkeKeyIdIdentification;
1149 return new IkeKeyIdIdentification(id.getBytes(StandardCharsets.US_ASCII)); in getId()