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 | 1066 KeyProtection keyProtection) throws Exception { in assertInitVerifySucceeds() argument 1072 keyProtection); in assertInitVerifySucceeds() 1079 KeyProtection keyProtection) throws Exception { in assertInitVerifySucceeds() argument 1081 "test1", getContext(), privateKeyResId, certResId, keyProtection) in assertInitVerifySucceeds() 1090 KeyProtection keyProtection) throws Exception { in assertInitSignSucceeds() argument 1096 keyProtection); in assertInitSignSucceeds() 1103 KeyProtection keyProtection) throws Exception { in assertInitSignSucceeds() argument 1105 "test1", getContext(), privateKeyResId, certResId, keyProtection) in assertInitSignSucceeds() 1114 KeyProtection keyProtection) throws Exception { in assertInitSignThrowsInvalidKeyException() argument 1115 assertInitSignThrowsInvalidKeyException(null, signatureAlgorithm, keyProtection); in assertInitSignThrowsInvalidKeyException() [all …]
|
D | TestUtils.java | 406 KeyProtection keyProtection) throws Exception { in importIntoAndroidKeyStore() argument 411 keyProtection); in importIntoAndroidKeyStore() 420 KeyProtection keyProtection) throws Exception { in importIntoAndroidKeyStore() argument 425 keyProtection); in importIntoAndroidKeyStore()
|