Home
last modified time | relevance | path

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

/external/conscrypt/common/src/test/java/org/conscrypt/java/security/
DSignatureTest.java146 String sigAlgorithmUpperCase = sigAlgorithm.toUpperCase(Locale.US); in keyPair() local
147 if (sigAlgorithmUpperCase.endsWith("ENCRYPTION")) { in keyPair()
149 sigAlgorithmUpperCase = sigAlgorithm.toUpperCase(Locale.US); in keyPair()
154 if (sigAlgorithmUpperCase.endsWith("ECDSA") in keyPair()
155 || sigAlgorithmUpperCase.endsWith("ECDSAINP1363FORMAT")) { in keyPair()
157 } else if (sigAlgorithmUpperCase.endsWith("DSA") in keyPair()
158 || sigAlgorithmUpperCase.endsWith("DSAINP1363FORMAT")) { in keyPair()
160 } else if (sigAlgorithmUpperCase.endsWith("RSA") in keyPair()
161 || sigAlgorithmUpperCase.endsWith("RSA/PSS") in keyPair()
162 || sigAlgorithmUpperCase.endsWith("RSASSA-PSS")) { in keyPair()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/
DSignatureTest.java151 String sigAlgorithmUpperCase = sigAlgorithm.toUpperCase(Locale.US); in keyPair() local
152 if (sigAlgorithmUpperCase.endsWith("ENCRYPTION")) { in keyPair()
154 sigAlgorithmUpperCase = sigAlgorithm.toUpperCase(Locale.US); in keyPair()
159 if (sigAlgorithmUpperCase.endsWith("ECDSA") in keyPair()
160 || sigAlgorithmUpperCase.endsWith("ECDSAINP1363FORMAT")) { in keyPair()
162 } else if (sigAlgorithmUpperCase.endsWith("DSA") in keyPair()
163 || sigAlgorithmUpperCase.endsWith("DSAINP1363FORMAT")) { in keyPair()
165 } else if (sigAlgorithmUpperCase.endsWith("RSA") in keyPair()
166 || sigAlgorithmUpperCase.endsWith("RSA/PSS") in keyPair()
167 || sigAlgorithmUpperCase.endsWith("RSASSA-PSS")) { in keyPair()