Home
last modified time | relevance | path

Searched refs:DIGEST_SHA256 (Results 1 – 25 of 265) sorted by relevance

1234567891011

/aosp_15_r20/external/cronet/net/ssl/
H A Dclient_cert_identity_unittest.cc28 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 DKeyProtectionTest.java87 .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 DKeyPairGeneratorTest.java395 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 DKeyGenParameterSpecTest.java125 .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 DKeyInfoTest.java78 .setDigests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512) in testImmutabilityViaGetterReturnValues()
146 .setDigests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA512) in testLimitedUseKey()
H A DAttestKeyTest.java20 import static android.security.keystore.KeyProperties.DIGEST_SHA256;
268 .setDigests(DIGEST_SHA256) in testAttestKey()
H A DRSACipherTest.java307 .setDigests(KeyProperties.DIGEST_SHA256) in testRsaOaepDecryptWithWrongMGF1DigestFails()
308 .setMgf1Digests(KeyProperties.DIGEST_SHA256) in testRsaOaepDecryptWithWrongMGF1DigestFails()
H A DSignatureTest.java926 (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 DKeyManagementTest.java200 .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 DKeyProperties.java595 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 DKeyStoreUtils.java19 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 DKeyGenParameterSpecTest.java80 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 DX509CertificateSigningTest.java76 .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 DKeystoreAttestationDeviceInfo.java18 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 DCMSSignedGenerator.java41 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 DCMSSignedGenerator.java45 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 Dx509_util.cc67 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 DParcelableKeyGenParameterSpecTest.java55 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 DAttestationTest.java34 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 DRsaSignatureTest.java65 .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 DTestUtils.java20 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 DCredentialManagementAppTest.java260 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 DAbstractUserAuthenticationSignatureTest.java36 builder.setDigests(KeyProperties.DIGEST_SHA256) in createUserAuthenticationKey()
/aosp_15_r20/cts/tests/security/src/android/keystore/cts/
H A DKeyGenerationUtils.java38 .setDigests(KeyProperties.DIGEST_SHA256) in buildRsaKeySpecWithKeyAttestation()
/aosp_15_r20/packages/apps/DeviceDiagnostics/DeviceDiagnosticsLib/src/main/java/com/android/devicediagnostics/evaluated/
DGetAttestation.kt39 .setDigests(KeyProperties.DIGEST_SHA256) in getAttestation()

1234567891011