Home
last modified time | relevance | path

Searched refs:keyProtection (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DMacTest.java610 private void assertInitSucceeds(String algorithm, KeyProtection keyProtection) in assertInitSucceeds() argument
612 assertInitSucceeds(algorithm, algorithm, keyProtection); in assertInitSucceeds()
616 String macAlgorithm, String keyAlgorithm, KeyProtection keyProtection) in assertInitSucceeds() argument
618 SecretKey key = importDefaultKatKey(keyAlgorithm, keyProtection); in assertInitSucceeds()
623 private void assertInitThrowsInvalidKeyException(String algorithm, KeyProtection keyProtection) in assertInitThrowsInvalidKeyException() argument
625 assertInitThrowsInvalidKeyException(algorithm, algorithm, keyProtection); in assertInitThrowsInvalidKeyException()
629 String macAlgorithm, String keyAlgorithm, KeyProtection keyProtection) in assertInitThrowsInvalidKeyException() argument
631 SecretKey key = importDefaultKatKey(keyAlgorithm, keyProtection); in assertInitThrowsInvalidKeyException()
651 String keyAlgorithm, KeyProtection keyProtection) throws Exception { in importDefaultKatKey() argument
655 keyProtection).getKeystoreBackedSecretKey(); in importDefaultKatKey()
DSignatureTest.java1121 KeyProtection keyProtection) throws Exception { in assertInitVerifySucceeds() argument
1127 keyProtection); in assertInitVerifySucceeds()
1134 KeyProtection keyProtection) throws Exception { in assertInitVerifySucceeds() argument
1136 "test1", getContext(), privateKeyResId, certResId, keyProtection) in assertInitVerifySucceeds()
1145 KeyProtection keyProtection) throws Exception { in assertInitSignSucceeds() argument
1151 keyProtection); in assertInitSignSucceeds()
1158 KeyProtection keyProtection) throws Exception { in assertInitSignSucceeds() argument
1160 "test1", getContext(), privateKeyResId, certResId, keyProtection) in assertInitSignSucceeds()
1169 KeyProtection keyProtection) throws Exception { in assertInitSignThrowsInvalidKeyException() argument
1170 assertInitSignThrowsInvalidKeyException(null, signatureAlgorithm, keyProtection); in assertInitSignThrowsInvalidKeyException()
[all …]
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java629 KeyProtection keyProtection) throws Exception { in importIntoAndroidKeyStore() argument
634 keyProtection); in importIntoAndroidKeyStore()
643 KeyProtection keyProtection) throws Exception { in importIntoAndroidKeyStore() argument
648 keyProtection); in importIntoAndroidKeyStore()