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.java770 String paddingScheme = TestUtils.getSignatureAlgorithmPadding(algorithm); in testLongMsgKat() local
772 KeyProperties.SIGNATURE_PADDING_RSA_PKCS1.equalsIgnoreCase(paddingScheme); in testLongMsgKat()
919 String paddingScheme = TestUtils.getSignatureAlgorithmPadding(algorithm); in testInitSignFailsWhenPaddingNotAuthorized() local
921 if (paddingScheme == null) { in testInitSignFailsWhenPaddingNotAuthorized()
925 paddingScheme)) { in testInitSignFailsWhenPaddingNotAuthorized()
928 paddingScheme)) { in testInitSignFailsWhenPaddingNotAuthorized()
947 String paddingScheme = TestUtils.getSignatureAlgorithmPadding(algorithm); in testInitVerifyIgnoresThatPaddingNotAuthorized() local
949 if (paddingScheme == null) { in testInitVerifyIgnoresThatPaddingNotAuthorized()
953 paddingScheme)) { in testInitVerifyIgnoresThatPaddingNotAuthorized()
956 paddingScheme)) { in testInitVerifyIgnoresThatPaddingNotAuthorized()
DTestUtils.java806 String paddingScheme = getSignatureAlgorithmPadding(algorithm); in isKeyLongEnoughForSignatureAlgorithm() local
808 if (KeyProperties.SIGNATURE_PADDING_RSA_PKCS1.equalsIgnoreCase(paddingScheme)) { in isKeyLongEnoughForSignatureAlgorithm()
810 } else if (KeyProperties.SIGNATURE_PADDING_RSA_PSS.equalsIgnoreCase(paddingScheme)) { in isKeyLongEnoughForSignatureAlgorithm()
815 "Unsupported signature padding scheme: " + paddingScheme); in isKeyLongEnoughForSignatureAlgorithm()