Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/
DObliviousHttpKeyConfig.java243 byte[] serializedArray = new byte[byteArraySize]; in serializeKeyConfigToBytes()
247 serializedArray[currentIndex++] = (byte) (keyId() & 0xFF); in serializeKeyConfigToBytes()
249 copyTwoBytesFromInteger(kemId(), serializedArray, currentIndex); in serializeKeyConfigToBytes() local
253 System.arraycopy(publicKey(), 0, serializedArray, currentIndex, publicKey().length); in serializeKeyConfigToBytes() local
259 copyTwoBytesFromInteger(algorithmsLength, serializedArray, currentIndex); in serializeKeyConfigToBytes()
262 copyTwoBytesFromInteger(kdfId(), serializedArray, currentIndex); in serializeKeyConfigToBytes() local
265 copyTwoBytesFromInteger(aeadId(), serializedArray, currentIndex); in serializeKeyConfigToBytes() local
267 return serializedArray; in serializeKeyConfigToBytes()