Home
last modified time | relevance | path

Searched refs:expectedAlgorithm (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/aws-sdk-java-v2/test/codegen-generated-classes-test/src/test/java/software/amazon/awssdk/services/
H A DHttpChecksumValidationTest.java113 … assertThat(CaptureChecksumValidationInterceptor.expectedAlgorithm).isEqualTo(Algorithm.CRC32); in syncClientValidateStreamingResponse()
129 … assertThat(CaptureChecksumValidationInterceptor.expectedAlgorithm).isEqualTo(Algorithm.CRC32); in syncClientValidateStreamingResponseZeroByte()
148 … assertThat(CaptureChecksumValidationInterceptor.expectedAlgorithm).isEqualTo(Algorithm.CRC32); in syncClientValidateNonStreamingResponse()
167 … assertThat(CaptureChecksumValidationInterceptor.expectedAlgorithm).isEqualTo(Algorithm.CRC32); in syncClientValidateNonStreamingResponseZeroByte()
182 assertThat(CaptureChecksumValidationInterceptor.expectedAlgorithm).isNull(); in syncClientValidateStreamingResponseForceSkip()
194 assertThat(CaptureChecksumValidationInterceptor.expectedAlgorithm).isNull(); in syncClientValidateStreamingResponseNoAlgorithmInResponse()
207 assertThat(CaptureChecksumValidationInterceptor.expectedAlgorithm).isNull(); in syncClientValidateStreamingResponseNoAlgorithmFoundInClient()
221 … assertThat(CaptureChecksumValidationInterceptor.expectedAlgorithm).isEqualTo(Algorithm.CRC32); in syncClientValidateStreamingResponseWithValidationFailed()
232 assertThat(CaptureChecksumValidationInterceptor.expectedAlgorithm).isNull(); in syncClientSkipsValidationWhenFeatureDisabled()
244 … assertThat(CaptureChecksumValidationInterceptor.expectedAlgorithm).isEqualTo(Algorithm.CRC32); in asyncClientValidateStreamingResponse()
[all …]
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/
H A DKeyPairGeneratorTest.java249 String expectedAlgorithm = kpg.getAlgorithm().toUpperCase(Locale.ROOT); in test_Key() local
250 if (StandardNames.IS_RI && expectedAlgorithm.equals("DIFFIEHELLMAN")) { in test_Key()
251 expectedAlgorithm = "DH"; in test_Key()
253 assertEquals(expectedAlgorithm, k.getAlgorithm().toUpperCase(Locale.ROOT)); in test_Key()
254 if (expectedAlgorithm.equals("DH")) { in test_Key()
266 && expectedAlgorithm.equals("RSA")) { in test_Key()
/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/java/security/
H A DKeyPairGeneratorTest.java241 String expectedAlgorithm = kpg.getAlgorithm().toUpperCase(Locale.ROOT); in test_Key() local
242 if (StandardNames.IS_RI && expectedAlgorithm.equals("DIFFIEHELLMAN")) { in test_Key()
243 expectedAlgorithm = "DH"; in test_Key()
245 assertEquals(expectedAlgorithm, k.getAlgorithm().toUpperCase(Locale.ROOT)); in test_Key()
246 if (expectedAlgorithm.equals("DH")) { in test_Key()
258 && expectedAlgorithm.equals("RSA")) { in test_Key()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/jwt/
H A DJwtFormat.java131 String expectedAlgorithm, in validateHeader() argument
136 validateAlgorithm(expectedAlgorithm); in validateHeader()
138 if (!algorithm.equals(expectedAlgorithm)) { in validateHeader()
141 "invalid algorithm; expected %s, got %s", expectedAlgorithm, algorithm)); in validateHeader()
/aosp_15_r20/system/keymaster/include/keymaster/cppcose/
H A Dcppcose.h159 CoseKeyAlgorithm expectedAlgorithm, CoseKeyCurve expectedCurve) { in parse() argument
164 !key->checkIntValue(CoseKey::ALGORITHM, expectedAlgorithm) || in parse()
/aosp_15_r20/prebuilts/module_sdk/conscrypt/current/test-exports/java/
Dconscrypt-tests.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/net/ android/ ...