Searched refs:IkeKeyIdIdentification (Results 1 – 10 of 10) sorted by relevance
35 public final class IkeKeyIdIdentification extends IkeIdentification { class45 public IkeKeyIdIdentification(@NonNull byte[] keyId) { in IkeKeyIdIdentification() method in IkeKeyIdIdentification56 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()
120 return IkeKeyIdIdentification.fromPersistableBundle(in); in fromPersistableBundle()
28 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()
26 import android.net.ipsec.ike.IkeKeyIdIdentification;66 IkeKeyIdIdentification ikeId = new IkeKeyIdIdentification(LOCAL_KEY_ID); in testIkeKeyIdIdentification()
29 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()
26 import android.net.ipsec.ike.IkeKeyIdIdentification;78 new IkeKeyIdIdentification("androidIkeKeyId".getBytes())); in testPersistableBundleEncodeDecodeKeyId()
24 import android.net.ipsec.ike.IkeKeyIdIdentification;94 ikeId = new IkeKeyIdIdentification(idData); in IkeIdPayload()
64 import android.net.ipsec.ike.IkeKeyIdIdentification;410 return new IkeKeyIdIdentification(HexDump.hexStringToByteArray(hexStr)); in parseIkeIdentification()435 return new IkeKeyIdIdentification(identityStr.getBytes()); in parseIkeIdentification()
124 public final class IkeKeyIdIdentification extends android.net.ipsec.ike.IkeIdentification {125 ctor public IkeKeyIdIdentification(@NonNull byte[]);
38 import android.net.ipsec.ike.IkeKeyIdIdentification;1149 return new IkeKeyIdIdentification(id.getBytes(StandardCharsets.US_ASCII)); in getId()