Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java654 String transformationUpperCase = transformation.toUpperCase(Locale.US); in getKeyAlgorithm() local
655 if (transformationUpperCase.equals("EC")) { in getKeyAlgorithm()
658 if (transformationUpperCase.equals("RSA")) { in getKeyAlgorithm()
661 if (transformationUpperCase.equals("DESEDE")) { in getKeyAlgorithm()
664 if (transformationUpperCase.equals("AES")) { in getKeyAlgorithm()
667 if (transformationUpperCase.startsWith("HMAC")) { in getKeyAlgorithm()
684 String transformationUpperCase = transformation.toUpperCase(Locale.US); in getCipherKeyAlgorithm() local
685 if (transformationUpperCase.startsWith("AES/")) { in getCipherKeyAlgorithm()
687 } else if (transformationUpperCase.startsWith("DESEDE/")) { in getCipherKeyAlgorithm()
689 } else if (transformationUpperCase.startsWith("RSA/")) { in getCipherKeyAlgorithm()
[all …]
DCipherTest.java1017 String transformationUpperCase = transformation.toUpperCase(Locale.US); in isRandomizedEncryption() local
1018 return (transformationUpperCase.endsWith("/PKCS1PADDING")) in isRandomizedEncryption()
1019 || (transformationUpperCase.contains("OAEP")); in isRandomizedEncryption()