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.java543 private void assertInitSucceeds(String algorithm, KeyProtection keyProtection) in assertInitSucceeds() argument
545 assertInitSucceeds(algorithm, algorithm, keyProtection); in assertInitSucceeds()
549 String macAlgorithm, String keyAlgorithm, KeyProtection keyProtection) in assertInitSucceeds() argument
551 SecretKey key = importDefaultKatKey(keyAlgorithm, keyProtection); in assertInitSucceeds()
556 private void assertInitThrowsInvalidKeyException(String algorithm, KeyProtection keyProtection) in assertInitThrowsInvalidKeyException() argument
558 assertInitThrowsInvalidKeyException(algorithm, algorithm, keyProtection); in assertInitThrowsInvalidKeyException()
562 String macAlgorithm, String keyAlgorithm, KeyProtection keyProtection) in assertInitThrowsInvalidKeyException() argument
564 SecretKey key = importDefaultKatKey(keyAlgorithm, keyProtection); in assertInitThrowsInvalidKeyException()
584 String keyAlgorithm, KeyProtection keyProtection) throws Exception { in importDefaultKatKey() argument
588 keyProtection).getKeystoreBackedSecretKey(); in importDefaultKatKey()
DSignatureTest.java1073 KeyProtection keyProtection) throws Exception { in assertInitVerifySucceeds() argument
1079 keyProtection); in assertInitVerifySucceeds()
1086 KeyProtection keyProtection) throws Exception { in assertInitVerifySucceeds() argument
1088 "test1", getContext(), privateKeyResId, certResId, keyProtection) in assertInitVerifySucceeds()
1097 KeyProtection keyProtection) throws Exception { in assertInitSignSucceeds() argument
1103 keyProtection); in assertInitSignSucceeds()
1110 KeyProtection keyProtection) throws Exception { in assertInitSignSucceeds() argument
1112 "test1", getContext(), privateKeyResId, certResId, keyProtection) in assertInitSignSucceeds()
1121 KeyProtection keyProtection) throws Exception { in assertInitSignThrowsInvalidKeyException() argument
1122 assertInitSignThrowsInvalidKeyException(null, signatureAlgorithm, keyProtection); in assertInitSignThrowsInvalidKeyException()
[all …]
DTestUtils.java483 KeyProtection keyProtection) throws Exception { in importIntoAndroidKeyStore() argument
488 keyProtection); in importIntoAndroidKeyStore()
497 KeyProtection keyProtection) throws Exception { in importIntoAndroidKeyStore() argument
502 keyProtection); in importIntoAndroidKeyStore()