/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FakeKeys.java | 37 public static final byte[] privateKey = { field in FakeKeys.FAKE_RSA_1 292 public static final byte[] privateKey = { field in FakeKeys.FAKE_DSA_1
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | RSACipherTest.java | 84 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() local 118 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() local 239 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingDecryptionFailsWithCiphertextOneByteLongerThanModulus() local 272 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingWithZeroMessage() local
|
D | RSASignatureTest.java | 77 PrivateKey privateKey = keyPair.getKeystoreBackedKeyPair().getPrivate(); in testMaxMessageSizeWhenNoDigestUsed() local
|
D | SignatureTest.java | 626 PrivateKey privateKey = key.getOriginalKeyPair().getPrivate(); in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore() local 1159 PrivateKey privateKey = TestUtils.importIntoAndroidKeyStore( in assertInitSignSucceeds() local 1192 PrivateKey privateKey = TestUtils.importIntoAndroidKeyStore( in assertInitSignThrowsInvalidKeyException() local 1304 PrivateKey privateKey, in generateSignatureFedUsingFixedSizeChunks()
|
D | KeyStoreTest.java | 345 … public static void setPrivateKeyNoPassword(KeyStore ks, String alias, PrivateKeyEntry privateKey) in setPrivateKeyNoPassword() 357 PrivateKeyEntry privateKey) in setPrivateKey() 373 PrivateKeyEntry privateKey) in setPrivateKeyBytes() 434 PrivateKeyEntry privateKey = (PrivateKeyEntry) actual; in assertPrivateKey() local
|
D | ImportWrappedKeyTest.java | 331 PrivateKey privateKey = kp.getPrivate(); in testKeyStore_ImportWrappedKey_RSA() local 410 PrivateKey privateKey = kp.getPrivate(); in testKeyStore_ImportWrappedKey_EC() local
|
D | DeviceOwnerKeyManagementTest.java | 124 byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey()
|
D | AndroidKeyStoreTest.java | 2039 PrivateKey privateKey = (PrivateKey) ks.getKey(alias, null); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local 2735 PrivateKey privateKey = generatePrivateKey("RSA", FAKE_RSA_KEY_1); in createLargeNumberOfKeyStoreEntryAliases() local
|
D | KeyPairGeneratorTest.java | 1955 PrivateKey privateKey, in assertUsableForTLSPeerAuthentication()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CaCertManagementTest.java | 281 PrivateKey privateKey = KeyFactory.getInstance("RSA").generatePrivate( in installKeyPair_installsKeyPair() local 301 PrivateKey privateKey = KeyFactory.getInstance("RSA").generatePrivate( in installKeyPair_invalidAdmin_throwsException() local 315 PrivateKey privateKey = KeyFactory.getInstance("RSA").generatePrivate( in removeKeyPair_removedKeyPair() local 324 sDeviceState.dpc().componentName(), privateKey, certificate, ALIAS); in removeKeyPair_removedKeyPair() local
|
D | CredentialManagementAppTest.java | 393 private byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey()
|
D | KeyManagementTest.java | 373 final PrivateKey privateKey = in getPrivateKey_aliasIsGranted_returnPrivateKey() local 671 private byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey()
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | PreSelectedKeyAccessTest.java | 44 PrivateKey privateKey = KeyChain.getPrivateKey(getContext(), PRE_SELECTED_ALIAS); in testAccessingPreSelectedAliasExpectingSuccess() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | Utils.java | 108 PrivateKey privateKey = ((KeyStore.PrivateKeyEntry) entry).getPrivateKey(); in initSignature() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | KeyChainTestActivity.java | 205 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this, alias); in alias() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | CredentialManagementAppActivity.java | 274 final PrivateKey privateKey = KeyChain.getPrivateKey( in getPrivateKeyAndSignData() local
|
D | KeyChainTest.java | 486 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTest.this, alias); in getPrivateKey() local
|
/cts/tests/tests/keystore/src/android/keystore/cts/util/ |
D | TestUtils.java | 286 public static void assertKeyPairSelfConsistent(PublicKey publicKey, PrivateKey privateKey) { in assertKeyPairSelfConsistent() 627 PrivateKey privateKey, in importIntoAndroidKeyStore()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 173 byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey()
|