Searched refs:PRIVATE_KEY (Results 1 – 2 of 2) sorted by relevance
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | KeyManagementTest.java | 81 private static final PrivateKey PRIVATE_KEY = field in KeyManagementTest 144 .installKeyPair(DPC_COMPONENT_NAME, PRIVATE_KEY, CERTIFICATE, in installKeyPair_validRsaKeyPair_success() 167 DPC_COMPONENT_NAME, PRIVATE_KEY, /* cert = */ null, RSA_ALIAS)); in installKeyPair_nullCertificate_throwException() 176 /* admin = */ null, PRIVATE_KEY, CERTIFICATE, RSA_ALIAS)); in installKeyPair_nullAdminComponent_throwException() 186 sDeviceState.dpc().devicePolicyManager().installKeyPair(DPC_COMPONENT_NAME, PRIVATE_KEY, in installKeyPair_withAutomatedAccess_aliasIsGranted() 204 sDeviceState.dpc().devicePolicyManager().installKeyPair(DPC_COMPONENT_NAME, PRIVATE_KEY, in installKeyPair_withoutAutomatedAccess_aliasIsNotGranted() 223 .installKeyPair(DPC_COMPONENT_NAME, PRIVATE_KEY, CERTIFICATE, RSA_ALIAS); in removeKeyPair_validRsaKeyPair_success() 246 .installKeyPair(DPC_COMPONENT_NAME, PRIVATE_KEY, CERTIFICATE, RSA_ALIAS); in hasKeyPair_installedAlias_true() 262 .installKeyPair(DPC_COMPONENT_NAME, PRIVATE_KEY, CERTIFICATE, RSA_ALIAS); in hasKeyPair_removedAlias_false() 279 .installKeyPair(DPC_COMPONENT_NAME, PRIVATE_KEY, CERTIFICATE, RSA_ALIAS); in choosePrivateKeyAlias_aliasIsSelectedByAdmin_returnAlias() [all …]
|
D | CredentialManagementAppTest.java | 77 private static final PrivateKey PRIVATE_KEY = field in CredentialManagementAppTest 118 () -> sDevicePolicyManager.installKeyPair(/* admin = */ null, PRIVATE_KEY, in installKeyPair_withoutManageCredentialAppOp_throwsException() 155 () -> sDevicePolicyManager.installKeyPair(/* admin = */ null, PRIVATE_KEY, in installKeyPair_isUserSelectableFlagSet_throwsException() 165 () -> sDevicePolicyManager.installKeyPair(/* admin = */ null, PRIVATE_KEY, in installKeyPair_aliasIsNotInAuthenticationPolicy_throwsException() 176 assertThat(sDevicePolicyManager.installKeyPair(/* admin = */ null, PRIVATE_KEY, in installKeyPair_isCredentialManagementApp_success() 203 sDevicePolicyManager.installKeyPair(/* admin = */ null, PRIVATE_KEY, CERTIFICATES, in hasKeyPair_isCredentialManagementApp_success() 220 sDevicePolicyManager.installKeyPair(/* admin = */ null, PRIVATE_KEY, CERTIFICATES, in removeKeyPair_isCredentialManagementApp_success() 285 sDevicePolicyManager.installKeyPair(null, PRIVATE_KEY, new Certificate[]{CERTIFICATE}, in choosePrivateKeyAlias_isCredentialManagementApp_aliasSelected()
|