Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ohttp/
DObliviousHttpKeyConfigTest.java50 ObliviousHttpKeyConfig keyConfig = ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes); in create_configuresKeyCorrectly()
68 () -> ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes)); in create_emptyKeyConfig_throwsError()
78 () -> ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes)); in create_wrongKemIdLength_throwsError()
88 () -> ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes)); in create_unsupportedKemId_throwsError()
99 () -> ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes)); in create_wrongPublicKeyLength_throwsError()
110 () -> ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes)); in create_wrongAlgorithmsLength_throwsError()
122 () -> ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes)); in create_incompleteAlgorithmsList_throwsError()
132 ObliviousHttpKeyConfig keyConfig = ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes); in serializeOhttpPayloadHeader_returnsCorrectHeader()
148 ObliviousHttpKeyConfig keyConfig = ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes); in createRecipientKeyInfoBytes_returnsCorrectInfo()
165 ObliviousHttpKeyConfig keyConfig = ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes); in createRecipientKeyInfoBytes_returnsCorrectInfo_withServerAuctionMediaTypeChange()
[all …]
DObliviousHttpClientTest.java55 ObliviousHttpKeyConfig keyConfig = ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes); in create_unsupportedAlgorithms_throwsError()
220 ObliviousHttpKeyConfig.fromSerializedKeyConfig( in decryptObliviousHttpResponse_withAuctionResult()
264 ObliviousHttpKeyConfig.fromSerializedKeyConfig( in decryptObliviousHttpResponse_withAuctionResult_withServerAuctionMediaTypeChange()
DObliviousHttpRequestTest.java53 ObliviousHttpKeyConfig.fromSerializedKeyConfig(keyConfigBytes); in serialize_serializesCorrectly()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ohttp/algorithms/
DHpkeAlgorithmSpecTest.java37 ObliviousHttpKeyConfig keyConfig = ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes); in fromKeyConfig_createsHpkeAlgorithmSpec()
52 ObliviousHttpKeyConfig keyConfig = ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes); in fromKeyConfig_unsupportedKdf_throwsError()
65 ObliviousHttpKeyConfig keyConfig = ObliviousHttpKeyConfig.fromSerializedKeyConfig(bytes); in fromKeyConfig_unsupportedAead_throwsError()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DObliviousHttpRequestContextMarshallerTest.java104 ObliviousHttpKeyConfig.fromSerializedKeyConfig( in test_insertContext_success()
155 ObliviousHttpKeyConfig.fromSerializedKeyConfig( in test_getContext_success()
DKAnonObliviousHttpEncryptorImplTest.java233 return ObliviousHttpKeyConfig.fromSerializedKeyConfig( in getKeyConfig()
DObliviousHttpEncryptorImplTest.java243 return ObliviousHttpKeyConfig.fromSerializedKeyConfig( in getKeyConfig()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBEncryptionContextTest.java55 ObliviousHttpKeyConfig.fromSerializedKeyConfig( in testBuildEncryptionContext_success()
DEncryptionContextDaoTest.java78 mObliviousHttpKeyConfig = ObliviousHttpKeyConfig.fromSerializedKeyConfig(KEY_CONFIG_BYTES); in setup()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DEncryptionContextDao.java92 ObliviousHttpKeyConfig.fromSerializedKeyConfig( in getEncryptionContextForIdAndKeyType()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/ohttp/
DObliviousHttpTestFixtures.java194 return ObliviousHttpKeyConfig.fromSerializedKeyConfig( in getKeyConfig()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DObliviousHttpRequestContextMarshaller.java66 ObliviousHttpKeyConfig.fromSerializedKeyConfig(dbEncryptionContext.getKeyConfig()), in getAuctionOblivioushttpRequestContext()
DJoinEncryptionKeyParser.java107 return ObliviousHttpKeyConfig.fromSerializedKeyConfig(key.publicKey()); in getObliviousHttpKeyConfig()
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/
DObliviousHttpKeyConfig.java123 public static ObliviousHttpKeyConfig fromSerializedKeyConfig(byte[] keyConfig) in fromSerializedKeyConfig() method in ObliviousHttpKeyConfig
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DObliviousHttpEncryptorWithSeedImplTest.java271 return ObliviousHttpKeyConfig.fromSerializedKeyConfig( in getKeyConfig()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonE2ETest.java2038 ObliviousHttpKeyConfig.fromSerializedKeyConfig(