Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DJoinEncryptionKeyParser.java49 public AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey) { in parseDbEncryptionKey() argument
50 Preconditions.checkNotNull(dbEncryptionKey, "DBEncryption key is null."); in parseDbEncryptionKey()
52 dbEncryptionKey.getEncryptionKeyType() in parseDbEncryptionKey()
57 .setKeyIdentifier(dbEncryptionKey.getKeyIdentifier()) in parseDbEncryptionKey()
60 BaseEncoding.base16().lowerCase().decode(dbEncryptionKey.getPublicKey())) in parseDbEncryptionKey()
DAuctionEncryptionKeyParser.java61 public AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey) { in parseDbEncryptionKey() argument
62 Preconditions.checkNotNull(dbEncryptionKey, "DBEncryption key is null."); in parseDbEncryptionKey()
64 dbEncryptionKey.getEncryptionKeyType() in parseDbEncryptionKey()
70 .setKeyIdentifier(dbEncryptionKey.getKeyIdentifier()) in parseDbEncryptionKey()
78 dbEncryptionKey in parseDbEncryptionKey()
DProtectedServersEncryptionConfigManagerBase.java122 protected AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey) { in parseDbEncryptionKey() argument
123 switch (dbEncryptionKey.getEncryptionKeyType()) { in parseDbEncryptionKey()
125 return mAuctionEncryptionKeyParser.parseDbEncryptionKey(dbEncryptionKey); in parseDbEncryptionKey()
127 return mJoinEncryptionKeyParser.parseDbEncryptionKey(dbEncryptionKey); in parseDbEncryptionKey()
DEncryptionKeyParser.java30 AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey); in parseDbEncryptionKey() argument
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/
DAuctionServerIntegrationTest.java3177 DBProtectedServersEncryptionConfig dbEncryptionKey = in testGetAdSelectionData_refreshFlagOn_fetchesNewKey() local
3185 mProtectedServersEncryptionConfigDao.insertKeys(ImmutableList.of(dbEncryptionKey)); in testGetAdSelectionData_refreshFlagOn_fetchesNewKey()
3289 DBProtectedServersEncryptionConfig dbEncryptionKey = in testGetAdSelectionData_refreshFlagOff_noNetworkCall() local
3297 mProtectedServersEncryptionConfigDao.insertKeys(ImmutableList.of(dbEncryptionKey)); in testGetAdSelectionData_refreshFlagOff_noNetworkCall()