Home
last modified time | relevance | path

Searched refs:paddingScheme (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DSignatureTest.java812 String paddingScheme = TestUtils.getSignatureAlgorithmPadding(algorithm); in testLongMsgKat() local
814 KeyProperties.SIGNATURE_PADDING_RSA_PKCS1.equalsIgnoreCase(paddingScheme); in testLongMsgKat()
967 String paddingScheme = TestUtils.getSignatureAlgorithmPadding(algorithm); in testInitSignFailsWhenPaddingNotAuthorized() local
969 if (paddingScheme == null) { in testInitSignFailsWhenPaddingNotAuthorized()
973 paddingScheme)) { in testInitSignFailsWhenPaddingNotAuthorized()
976 paddingScheme)) { in testInitSignFailsWhenPaddingNotAuthorized()
996 String paddingScheme = TestUtils.getSignatureAlgorithmPadding(algorithm); in testInitVerifyIgnoresThatPaddingNotAuthorized() local
998 if (paddingScheme == null) { in testInitVerifyIgnoresThatPaddingNotAuthorized()
1002 paddingScheme)) { in testInitVerifyIgnoresThatPaddingNotAuthorized()
1005 paddingScheme)) { in testInitVerifyIgnoresThatPaddingNotAuthorized()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java1019 String paddingScheme = getSignatureAlgorithmPadding(algorithm); in isKeyLongEnoughForSignatureAlgorithm() local
1021 if (KeyProperties.SIGNATURE_PADDING_RSA_PKCS1.equalsIgnoreCase(paddingScheme)) { in isKeyLongEnoughForSignatureAlgorithm()
1023 } else if (KeyProperties.SIGNATURE_PADDING_RSA_PSS.equalsIgnoreCase(paddingScheme)) { in isKeyLongEnoughForSignatureAlgorithm()
1028 "Unsupported signature padding scheme: " + paddingScheme); in isKeyLongEnoughForSignatureAlgorithm()