Home
last modified time | relevance | path

Searched defs:keyId (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/KeyStoreManagerTest/src/android/appsecurity/cts/keystoremanagertest/
DIKeyStoreManagerGrantTestService.aidl89 int getGrantedKeyFromId_secretKeyAccessGranted_succeeds(long keyId, in byte[] cipherText, in getGrantedKeyFromId_secretKeyAccessGranted_succeeds()
96 int getGrantedKeyFromId_secretKeyAccessRevoked_cannotAccess(long keyId); in getGrantedKeyFromId_secretKeyAccessRevoked_cannotAccess()
103 int getGrantedKeyFromId_privateKeyAccessGranted_succeeds(long keyId, in byte[] cipherText); in getGrantedKeyFromId_privateKeyAccessGranted_succeeds()
109 int getGrantedKeyFromId_privateKeyAccessRevoked_cannotAccess(long keyId); in getGrantedKeyFromId_privateKeyAccessRevoked_cannotAccess()
115 int getGrantedKeyPairFromId_privateKeyAccessGranted_succeeds(long keyId); in getGrantedKeyPairFromId_privateKeyAccessGranted_succeeds()
121 int getGrantedCertificateChainFromId_privateKeyAccessGranted_succeeds(long keyId); in getGrantedCertificateChainFromId_privateKeyAccessGranted_succeeds()
/cts/hostsidetests/appsecurity/test-apps/KeyStoreManagerTest/GranteeApp/src/android/appsecurity/cts/keystoremanagertest/grantee/
DKeyStoreManagerGrantTestService.java71 public int getGrantedKeyFromId_secretKeyAccessGranted_succeeds(long keyId, in getGrantedKeyFromId_secretKeyAccessGranted_succeeds()
91 public int getGrantedKeyFromId_secretKeyAccessRevoked_cannotAccess(long keyId) { in getGrantedKeyFromId_secretKeyAccessRevoked_cannotAccess()
113 public int getGrantedKeyFromId_privateKeyAccessGranted_succeeds(long keyId, in getGrantedKeyFromId_privateKeyAccessGranted_succeeds()
132 public int getGrantedKeyFromId_privateKeyAccessRevoked_cannotAccess(long keyId) { in getGrantedKeyFromId_privateKeyAccessRevoked_cannotAccess()
152 public int getGrantedKeyPairFromId_privateKeyAccessGranted_succeeds(long keyId) { in getGrantedKeyPairFromId_privateKeyAccessGranted_succeeds()
178 public int getGrantedCertificateChainFromId_privateKeyAccessGranted_succeeds(long keyId) { in getGrantedCertificateChainFromId_privateKeyAccessGranted_succeeds()
216 private String decryptTextWithSecretKey(long keyId, byte[] cipherText, byte[] iv) in decryptTextWithSecretKey()
230 private String decryptTextWithPrivateKey(long keyId, byte[] cipherText) throws Exception { in decryptTextWithPrivateKey()
/cts/hostsidetests/appsecurity/test-apps/KeyStoreManagerTest/GranterApp/src/android/appsecurity/cts/keystoremanagertest/granter/
DKeyStoreManagerGrantTest.java136 long keyId = mKeyStoreManager.grantKeyAccess(SECRET_KEY_ALIAS, mGranteeUid); in grantAndRevokeKeyAccess_generatedSecretKey() local
158 long keyId = mKeyStoreManager.grantKeyAccess(PRIVATE_KEY_ALIAS, mGranteeUid); in grantAndRevokeKeyAccess_generatedPrivateKey() local
180 long keyId = mKeyStoreManager.grantKeyAccess(IMPORTED_KEY_ALIAS, mGranteeUid); in grantAndRevokeKeyAccess_importedKeyPair() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java1492 int keyId = mNextKeyId++; in importKey() local