Searched refs:EncryptionInfo (Results 1 – 3 of 3) sorted by relevance
23 import com.android.server.nearby.presence.EncryptionInfo.EncodingScheme;39 assertThrows(IllegalArgumentException.class, () -> new EncryptionInfo(data)); in test_illegalLength()45 () -> new EncryptionInfo(ArrayUtils.append((byte) 0b10110000, SALT))); in test_illegalEncodingScheme()47 () -> new EncryptionInfo(ArrayUtils.append((byte) 0b01101000, SALT))); in test_illegalEncodingScheme()53 EncryptionInfo info = new EncryptionInfo(data); in test_getMethods_signature()61 EncryptionInfo info = new EncryptionInfo(data); in test_getMethods_mic()67 byte[] data = EncryptionInfo.toByte(EncodingScheme.MIC, SALT); in test_toBytes()68 EncryptionInfo info = new EncryptionInfo(data); in test_toBytes()
22 import static com.android.server.nearby.presence.EncryptionInfo.ENCRYPTION_INFO_LENGTH;179 ? firstDeBytes : (new EncryptionInfo(firstDeBytes)).getSalt(); in fromBytes()313 EncryptionInfo.toByte(EncryptionInfo.EncodingScheme.MIC, mSalt)); in toBytesInternal()459 EncryptionInfo info = new EncryptionInfo(data); in getNonce()460 if (info.getEncodingScheme() != EncryptionInfo.EncodingScheme.MIC) { in getNonce()
35 public class EncryptionInfo { class55 public EncryptionInfo(@NonNull byte[] value) { in EncryptionInfo() method in EncryptionInfo