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 | 1067 KeyProtection keyProtection) throws Exception { in assertInitVerifySucceeds() argument 1073 keyProtection); in assertInitVerifySucceeds() 1080 KeyProtection keyProtection) throws Exception { in assertInitVerifySucceeds() argument 1082 "test1", getContext(), privateKeyResId, certResId, keyProtection) in assertInitVerifySucceeds() 1091 KeyProtection keyProtection) throws Exception { in assertInitSignSucceeds() argument 1097 keyProtection); in assertInitSignSucceeds() 1104 KeyProtection keyProtection) throws Exception { in assertInitSignSucceeds() argument 1106 "test1", getContext(), privateKeyResId, certResId, keyProtection) in assertInitSignSucceeds() 1115 KeyProtection keyProtection) throws Exception { in assertInitSignThrowsInvalidKeyException() argument 1116 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()
|