Searched refs:keyProtection (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | MacTest.java | 543 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()
|
D | SignatureTest.java | 1073 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 …]
|
D | TestUtils.java | 484 KeyProtection keyProtection) throws Exception { in importIntoAndroidKeyStore() argument 489 keyProtection); in importIntoAndroidKeyStore() 498 KeyProtection keyProtection) throws Exception { in importIntoAndroidKeyStore() argument 503 keyProtection); in importIntoAndroidKeyStore()
|