/aosp_15_r20/external/cronet/net/ssl/ |
H A D | client_cert_identity_unittest.cc | 28 key->key(), x509_util::DIGEST_SHA256, "CN=expired", 1, in TEST() 37 key->key(), x509_util::DIGEST_SHA256, "CN=not yet valid", 2, in TEST() 44 key->key(), x509_util::DIGEST_SHA256, "CN=older cert", 3, in TEST() 51 key->key(), x509_util::DIGEST_SHA256, "CN=newer cert", 2, in TEST()
|
/aosp_15_r20/cts/tests/tests/keystore/src/android/keystore/cts/ |
H A D | KeyProtectionTest.java | 87 .setDigests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512) in testSettersReflectedInGetters() 105 specBuilder.setMgf1Digests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512); in testSettersReflectedInGetters() 115 KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512); in testSettersReflectedInGetters() 120 KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512); in testSettersReflectedInGetters() 197 String[] mgfDigests = new String[] {KeyProperties.DIGEST_SHA256, in testImmutabilityViaSetterParams() 284 specBuilder.setMgf1Digests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512); in testImmutabilityViaGetterReturnValues()
|
H A D | KeyPairGeneratorTest.java | 395 new String[] {KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA1}; in testGenerateHonorsRequestedAuthorizations() 546 KeyProperties.DIGEST_SHA256, in testGenerate_EC_LegacySpec() 593 KeyProperties.DIGEST_SHA256, in testGenerate_EC_LegacySpec() 639 KeyProperties.DIGEST_SHA256, in testGenerate_EC_LegacySpec() 689 KeyProperties.DIGEST_SHA256, in testGenerate_RSA_LegacySpec() 1216 .setDigests(KeyProperties.DIGEST_SHA256) in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox() 1256 actualDigests, KeyProperties.DIGEST_SHA256); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox() 1371 .setDigests(KeyProperties.DIGEST_SHA256) in testGenerate_RSA_ModernSpec_AsCustomAsPossibleStrongbox() 1416 actualDigests, KeyProperties.DIGEST_SHA256); in testGenerate_RSA_ModernSpec_AsCustomAsPossibleStrongbox() 1445 .setDigests(KeyProperties.DIGEST_NONE, KeyProperties.DIGEST_SHA256) in testGenerate_EC_ModernSpec_UsableForTLSPeerAuth() [all …]
|
H A D | KeyGenParameterSpecTest.java | 125 .setDigests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA384) in testSettersReflectedInGetters() 145 specBuilder.setMgf1Digests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA384); in testSettersReflectedInGetters() 161 KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA384); in testSettersReflectedInGetters() 166 KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA384); in testSettersReflectedInGetters() 265 String[] mgfDigests = new String[] {KeyProperties.DIGEST_SHA256, in testImmutabilityViaSetterParams() 364 specBuilder.setMgf1Digests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512); in testImmutabilityViaGetterReturnValues()
|
H A D | KeyInfoTest.java | 78 .setDigests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512) in testImmutabilityViaGetterReturnValues() 146 .setDigests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512) in testLimitedUseKey()
|
H A D | AttestKeyTest.java | 20 import static android.security.keystore.KeyProperties.DIGEST_SHA256; 268 .setDigests(DIGEST_SHA256) in testAttestKey()
|
H A D | RSACipherTest.java | 307 .setDigests(KeyProperties.DIGEST_SHA256) in testRsaOaepDecryptWithWrongMGF1DigestFails() 308 .setMgf1Digests(KeyProperties.DIGEST_SHA256) in testRsaOaepDecryptWithWrongMGF1DigestFails()
|
H A D | SignatureTest.java | 926 (KeyProperties.DIGEST_SHA256.equalsIgnoreCase(digest)) in testInitSignFailsWhenDigestNotAuthorized() 927 ? KeyProperties.DIGEST_SHA384 : KeyProperties.DIGEST_SHA256; in testInitSignFailsWhenDigestNotAuthorized() 953 (KeyProperties.DIGEST_SHA256.equalsIgnoreCase(digest)) in testInitVerifyIgnoresThatDigestNotAuthorized() 954 ? KeyProperties.DIGEST_SHA384 : KeyProperties.DIGEST_SHA256; in testInitVerifyIgnoresThatDigestNotAuthorized()
|
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
H A D | KeyManagementTest.java | 200 .setDigests(KeyProperties.DIGEST_SHA256) in buildRsaKeySpec() 236 .setDigests(KeyProperties.DIGEST_SHA256) in buildEcKeySpec() 350 .setDigests(KeyProperties.DIGEST_SHA256) in generateKeyAndCheckAttestation() 588 .setDigests(KeyProperties.DIGEST_SHA256) in testUniqueDeviceAttestationUsingDifferentAttestationCert() 604 .setDigests(KeyProperties.DIGEST_SHA256) in testUniqueDeviceAttestationUsingDifferentAttestationCert() 648 .setDigests(KeyProperties.DIGEST_SHA256) in testUniqueDeviceAttestationFailsWhenUnsupported() 670 .setDigests(KeyProperties.DIGEST_SHA256) in testCanSetKeyPairCert() 702 .setDigests(KeyProperties.DIGEST_SHA256) in testCanSetKeyPairCertChain()
|
/aosp_15_r20/frameworks/base/keystore/java/android/security/keystore/ |
H A D | KeyProperties.java | 595 DIGEST_SHA256, 624 public static final String DIGEST_SHA256 = "SHA-256"; field in KeyProperties 648 case DIGEST_SHA256: in toKeymaster() 675 return DIGEST_SHA256; in fromKeymaster()
|
/aosp_15_r20/frameworks/base/services/companion/java/com/android/server/companion/securechannel/ |
H A D | KeyStoreUtils.java | 19 import static android.security.keystore.KeyProperties.DIGEST_SHA256; 93 .setDigests(DIGEST_SHA256) in generateAttestationKeyPair()
|
/aosp_15_r20/frameworks/base/keystore/tests/src/android/security/keystore/ |
H A D | KeyGenParameterSpecTest.java | 80 new String[] {KeyProperties.DIGEST_SHA1, KeyProperties.DIGEST_SHA256}; in testMgf1DigestsCanBeSpecified() 95 new String[] {KeyProperties.DIGEST_SHA1, KeyProperties.DIGEST_SHA256}; in testMgf1DigestsAreNotModified()
|
/aosp_15_r20/cts/tests/tests/identity/src/android/security/identity/cts/ |
H A D | X509CertificateSigningTest.java | 76 .setDigests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512).build()); in testSigning() 82 .setDigests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512).build()); in testSigning()
|
/aosp_15_r20/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
H A D | KeystoreAttestationDeviceInfo.java | 18 import static android.security.keystore.KeyProperties.DIGEST_SHA256; 89 .setDigests(DIGEST_SHA256) in collectAttestation()
|
/aosp_15_r20/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
H A D | CMSSignedGenerator.java | 41 public static final String DIGEST_SHA256 = NISTObjectIdentifiers.id_sha256.getId(); field in CMSSignedGenerator 84 EC_ALGORITHMS.put(DIGEST_SHA256, ENCRYPTION_ECDSA_WITH_SHA256); in EC_ALGORITHMS.put() argument
|
/aosp_15_r20/external/bouncycastle/repackaged_platform/bcpkix/src/main/java/com/android/internal/org/bouncycastle/cms/ |
H A D | CMSSignedGenerator.java | 45 public static final String DIGEST_SHA256 = NISTObjectIdentifiers.id_sha256.getId(); field in CMSSignedGenerator 88 EC_ALGORITHMS.put(DIGEST_SHA256, ENCRYPTION_ECDSA_WITH_SHA256); in EC_ALGORITHMS.put() argument
|
/aosp_15_r20/external/cronet/net/cert/ |
H A D | x509_util.cc | 67 if (digest_alg != DIGEST_SHA256) { in AddSignatureAlgorithm() 90 case DIGEST_SHA256: in ToEVP() 306 static const DigestAlgorithm kSignatureDigestAlgorithm = DIGEST_SHA256;
|
/aosp_15_r20/frameworks/base/keystore/tests/src/android/security/ |
H A D | ParcelableKeyGenParameterSpecTest.java | 55 static final String DIGEST = KeyProperties.DIGEST_SHA256; 198 new String[] {KeyProperties.DIGEST_SHA1, KeyProperties.DIGEST_SHA256}; in testParcelingMgf1Digests()
|
/aosp_15_r20/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/ |
H A D | AttestationTest.java | 34 import static android.security.keystore.KeyProperties.DIGEST_SHA256; 132 .setDigests(DIGEST_SHA256) in testEcAttestation()
|
/aosp_15_r20/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/ |
H A D | RsaSignatureTest.java | 65 .setDigests(KeyProperties.DIGEST_SHA256) in getKeystorePrivateKey() 1338 .setDigests(KeyProperties.DIGEST_SHA256) in testFaultySigner()
|
/aosp_15_r20/cts/tests/tests/keystore/src/android/keystore/cts/util/ |
H A D | TestUtils.java | 20 import static android.security.keystore.KeyProperties.DIGEST_SHA256; 154 return new String[]{DIGEST_NONE, DIGEST_SHA256}; in getDigestsForKeyMintImplementation() 156 return new String[]{DIGEST_NONE, DIGEST_SHA256, DIGEST_SHA512}; in getDigestsForKeyMintImplementation() 931 return KeyProperties.DIGEST_SHA256; in getCipherDigest() 1080 } else if (KeyProperties.DIGEST_SHA256.equals(digest)) { in getDigestOutputSizeBits()
|
/aosp_15_r20/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
H A D | CredentialManagementAppTest.java | 260 KeyProperties.DIGEST_SHA256).build(); in setKeyPairCertificate_isCredentialManagementApp_success() 431 .setDigests(KeyProperties.DIGEST_SHA256) in buildRsaKeySpec()
|
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
H A D | AbstractUserAuthenticationSignatureTest.java | 36 builder.setDigests(KeyProperties.DIGEST_SHA256) in createUserAuthenticationKey()
|
/aosp_15_r20/cts/tests/security/src/android/keystore/cts/ |
H A D | KeyGenerationUtils.java | 38 .setDigests(KeyProperties.DIGEST_SHA256) in buildRsaKeySpecWithKeyAttestation()
|
/aosp_15_r20/packages/apps/DeviceDiagnostics/DeviceDiagnosticsLib/src/main/java/com/android/devicediagnostics/evaluated/ |
D | GetAttestation.kt | 39 .setDigests(KeyProperties.DIGEST_SHA256) in getAttestation()
|