Searched refs:EncryptedData (Results 1 – 6 of 6) sorted by relevance
27 public class EncryptedData { class31 public EncryptedData(byte[] encryptedData, byte[] iv) { in EncryptedData() method in EncryptedData48 if (!(other instanceof EncryptedData)) return false; in equals()49 EncryptedData otherEncryptedData = (EncryptedData) other; in equals()
84 public @Nullable EncryptedData encrypt(byte[] data) { in encrypt()85 EncryptedData encryptedData = null; in encrypt()91 encryptedData = new EncryptedData(cipher.doFinal(data), cipher.getIV()); in encrypt()116 public @Nullable byte[] decrypt(@NonNull EncryptedData encryptedData) { in decrypt()
392 EncryptedData encryptedData = null; in writePreSharedKeyToXml()722 EncryptedData encryptedData = in parseFromXml()1100 EncryptedData encryptedData = null; in writePasswordToXml()1268 EncryptedData encryptedData = in parseFromXml()1307 public static void writeToXml(XmlSerializer out, EncryptedData encryptedData) in writeToXml()1322 public static EncryptedData parseFromXml(XmlPullParser in, int outerTagDepth) in parseFromXml()1346 return new EncryptedData(encryptedData, iv); in parseFromXml()
121 EncryptedData encryptedData = new EncryptedData(new byte[0], new byte[0]); in testPskWifiConfigurationSerializeDeserializeWithEncryption()433 EncryptedData encryptedData = new EncryptedData(new byte[0], new byte[0]); in testWifiEnterpriseConfigSerializeDeserializeWithEncryption()
34 import com.android.server.wifi.util.EncryptedData;190 .thenReturn(new EncryptedData(new byte[0], new byte[0])); in setupMocks()191 when(mEncryptionUtil.decrypt(any(EncryptedData.class))) in setupMocks()
38 import com.android.server.wifi.util.EncryptedData;