/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | AdSelectionEncryptionKeyManagerTest.java | 202 .decode(ENCRYPTION_KEY_JOIN.getPublicKey())); in test_getLatestActiveJoinKey_returnsActiveJoinKey() 228 .getPublicKey() in test_getLatestActiveAuctionKey_returnsActiveAuctionKey() 421 assertThat(actualKeyConfig.getPublicKey()).isEqualTo(expectedPublicKey); in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey() 448 Base64.getDecoder().decode(ENCRYPTION_KEY_AUCTION_TTL_1SECS.getPublicKey()); in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey() 453 assertThat(actualKeyConfig.getPublicKey()).isEqualTo(expectedPublicKey); in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey() 473 .getPublicKey() in test_getLatestOhttpKeyConfigOfType_typeAuction_returnsLatestKey() 475 assertThat(actualKeyConfig.getPublicKey()).isEqualTo(expectedPublicKey); in test_getLatestOhttpKeyConfigOfType_typeAuction_returnsLatestKey() 497 .getPublicKey() in test_getLatestOhttpKeyConfigOfType_typeAuction_withLogging() 499 assertThat(actualKeyConfig.getPublicKey()).isEqualTo(expectedPublicKey); in test_getLatestOhttpKeyConfigOfType_typeAuction_withLogging() 531 .getPublicKey() in test_getLatestOhttpKeyConfigOfType_withExpiredKey_shouldReturnExpiredKey() [all …]
|
D | ProtectedServersEncryptionConfigManagerTest.java | 189 .decode(ENCRYPTION_KEY_JOIN_WITH_COORDINATOR.getPublicKey())); in test_getLatestJoinKey_returnsJoinKey() 216 .getPublicKey() in test_getLatestAuctionKey_returnsAuctionKey() 471 .getPublicKey() in test_getLatestOhttpKeyConfigOfType_typeAuction_returnsLatestKey() 473 assertThat(actualKeyConfig.getPublicKey()).isEqualTo(expectedPublicKey); in test_getLatestOhttpKeyConfigOfType_typeAuction_returnsLatestKey() 496 .getPublicKey() in test_getLatestOhttpKeyConfigOfType_typeAuction_withLogging() 498 assertThat(actualKeyConfig.getPublicKey()).isEqualTo(expectedPublicKey); in test_getLatestOhttpKeyConfigOfType_typeAuction_withLogging() 533 assertThat(actualKeyConfig.getPublicKey()).isEqualTo(expectedPublicKey); in test_getLatestOhttpKeyConfigOfType_withNoKeys_returnsLatestKey() 585 assertThat(actualKeyConfig.getPublicKey()).isEqualTo(expectedPublicKey); in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey() 586 assertThat(actualKeyConfig.getPublicKey()).isNotEqualTo(expiredPublicKeyBytes); in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey() 625 assertThat(actualKeyConfig.getPublicKey()).isEqualTo(expectedPublicKey); in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey() [all …]
|
D | AuctionEncryptionKeyParserTest.java | 91 .getPublicKey() in parseDbEncryptionKey_returnsSuccess() 114 assertThat(keys.get(0).getPublicKey()).isEqualTo(AUCTION_KEY_1.publicKey()); in getDbEncryptionKeys_missingMaxAge_usesDefaultAge() 131 assertThat(keys.get(0).getPublicKey()).isEqualTo(AUCTION_KEY_1.publicKey()); in getDbEncryptionKeys_parsesSingleKey() 191 assertThat(keyConfig.getPublicKey()).isEqualTo(keyContent); in getObliviousHttpKeyConfig_convertsKmsKeyIdToOhttpKeyIdCorrectly()
|
D | JoinEncryptionKeyParserTest.java | 122 assertThat(keys.get(0).getPublicKey()).isEqualTo(JOIN_PUBLIC_KEY_2_BASE_16); in getDbEncryptionKeys_missingMaxAge_usesDefaultAge() 158 assertThat(BaseEncoding.base16().lowerCase().encode(keyConfig.getPublicKey())) in getObliviousHttpKeyConfig_returnsKeyConfig()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiKeyStore.java | 89 return isHardwareBackedKey(certificate.getPublicKey()); in hasHardwareBackedKey() 414 if (x509Certificate.getPublicKey() instanceof RSAPublicKey) { in getSuiteBCipherFromCert() 415 final RSAPublicKey rsaPublicKey = (RSAPublicKey) x509Certificate.getPublicKey(); in getSuiteBCipherFromCert() 428 if (x509Certificate.getPublicKey() instanceof ECPublicKey) { in getSuiteBCipherFromCert() 429 final ECPublicKey ecPublicKey = (ECPublicKey) x509Certificate.getPublicKey(); in getSuiteBCipherFromCert()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/ |
D | AggregateEncryptionKeyFetcherTest.java | 98 result.get(0).getPublicKey()); in testBasicAggregateEncryptionKeyRequest() 104 result.get(1).getPublicKey()); in testBasicAggregateEncryptionKeyRequest() 249 result.get(0).getPublicKey()); in testMissingAgeHeader() 254 result.get(1).getPublicKey()); in testMissingAgeHeader() 282 result.get(0).getPublicKey()); in testBrokenAgeHeader() 287 result.get(1).getPublicKey()); in testBrokenAgeHeader()
|
D | AggregateEncryptionKeyTest.java | 48 assertEquals(PUBLIC_KEY, aggregateEncryptionKey.getPublicKey()); in verifyExample()
|
D | AggregateEncryptionKeyTestUtil.java | 78 result.append(String.format("publicKey: %s\n", key.getPublicKey())); in prettify()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/ |
D | X509Utils.java | 83 PublicKey pubKey = cert.getPublicKey(); in getAndFormatRawPublicKey() 88 ECPublicKey key = (ECPublicKey) cert.getPublicKey(); in getAndFormatRawPublicKey() 155 certificate.verify(certificate.getPublicKey()); in isSelfSignedCertificate()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiQrCode.java | 103 String getPublicKey() { in getPublicKey() method in WifiQrCode 104 return mUriParserResults.getPublicKey(); in getPublicKey()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | UriParserResultsTest.java | 90 assertNull(testResultZxing.getPublicKey()); in testGetXXXMethods() 101 assertEquals(testResultDpp.getPublicKey(), TEST_PUBLIC_KEY); in testGetXXXMethods()
|
D | WifiUriParserTest.java | 62 assertNull(uri.getPublicKey()); in verifyZxParsing() 196 assertEquals(TEST_DPP_PUBLIC_KEY, uri.getPublicKey()); in testDppParsing()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | DBProtectedServersEncryptionConfigTest.java | 53 assertThat(dBEncryptionKey.getPublicKey()).isEqualTo(PUBLIC_KEY_1); in testBuildValidEncryptionKey_success() 71 assertThat(dBEncryptionKey.getPublicKey()).isEqualTo(PUBLIC_KEY_1); in testBuildValidEncryptionKey_rowIdAbsent_success()
|
D | DBEncryptionKeyTest.java | 52 assertThat(dBEncryptionKey.getPublicKey()).isEqualTo(PUBLIC_KEY_1); in testBuildValidEncryptionKey_success()
|
/packages/modules/Virtualization/service_vm/test_apk/src/java/com/android/virt/vm_attestation/util/ |
D | X509Utils.java | 59 rootCert.verify(rootCert.getPublicKey()); in validateCertChain() 139 sig.initVerify(publicKeyCert.getPublicKey()); in verifySignature()
|
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/ |
D | PublicCredentialTest.java | 78 assertThat(Arrays.equals(credential.getPublicKey(), PUBLIC_KEY)).isTrue(); in testBuilder() 103 assertThat(Arrays.equals(credentialFromParcel.getPublicKey(), PUBLIC_KEY)).isTrue(); in testWriteParcel()
|
/packages/modules/Connectivity/tests/common/java/android/net/nsd/ |
D | NsdServiceInfoTest.java | 195 assertArrayEquals(original.getPublicKey(), result.getPublicKey()); in checkParcelable()
|
/packages/modules/Virtualization/compos/aidl/com/android/compos/ |
D | ICompOsService.aidl | 85 byte[] getPublicKey(); in getPublicKey() method
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/ |
D | RkpKey.java | 50 public byte[] getPublicKey() { in getPublicKey() method in RkpKey
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/aggregation/ |
D | AggregateCryptoFixture.java | 56 public static byte[] getPublicKey() { in getPublicKey() method in AggregateCryptoFixture
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/ |
D | ProtectedServersEncryptionConfigManager.java | 329 .setPublicKey(key.getPublicKey()) 340 .setPublicKey(key.getPublicKey())
|
D | JoinEncryptionKeyParser.java | 60 BaseEncoding.base16().lowerCase().decode(dbEncryptionKey.getPublicKey())) in parseDbEncryptionKey()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | DBEncryptionKey.java | 57 public abstract String getPublicKey(); in getPublicKey() method in DBEncryptionKey
|
D | DBProtectedServersEncryptionConfig.java | 85 public abstract String getPublicKey(); in getPublicKey() method in DBProtectedServersEncryptionConfig
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/ |
D | AggregateEncryptionKey.java | 82 public String getPublicKey() { in getPublicKey() method in AggregateEncryptionKey
|