D | KeyManagementTest.java | 114 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testCanInstallAndRemoveValidRsaKeypair() local 118 assertThat(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)).isTrue(); in testCanInstallAndRemoveValidRsaKeypair() local 138 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testCanInstallWithAutomaticAccess() local 144 getWho(), privKey, new Certificate[] {cert}, grant, true)) in testCanInstallWithAutomaticAccess() local 148 getWho(), privKey, new Certificate[] {cert}, withhold, false)) in testCanInstallWithAutomaticAccess() local 180 final PrivateKey privKey = loadPrivateKeyFromAsset("user-cert-chain.key"); in testCanInstallCertChain() local 186 assertThat(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)) in testCanInstallCertChain() local 207 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testGrantsDoNotPersistBetweenInstallations() local 213 getWho(), privKey, new Certificate[] {cert}, alias, true)) in testGrantsDoNotPersistBetweenInstallations() local 226 getWho(), privKey, new Certificate[] {cert}, alias, false)) in testGrantsDoNotPersistBetweenInstallations() local [all …]
|