/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 | 50 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() local 83 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() local 200 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingDecryptionFailsWithCiphertextOneByteLongerThanModulus() local 232 PrivateKey privateKey = key.getKeystoreBackedKeyPair().getPrivate(); in testNoPaddingWithZeroMessage() local
|
D | RSASignatureTest.java | 61 PrivateKey privateKey = keyPair.getKeystoreBackedKeyPair().getPrivate(); in testMaxMessageSizeWhenNoDigestUsed() local
|
D | SignatureTest.java | 596 PrivateKey privateKey = key.getOriginalKeyPair().getPrivate(); in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore() local 1111 PrivateKey privateKey = TestUtils.importIntoAndroidKeyStore( in assertInitSignSucceeds() local 1144 PrivateKey privateKey = TestUtils.importIntoAndroidKeyStore( in assertInitSignThrowsInvalidKeyException() local 1256 PrivateKey privateKey, in generateSignatureFedUsingFixedSizeChunks()
|
D | KeyStoreTest.java | 311 … public static void setPrivateKeyNoPassword(KeyStore ks, String alias, PrivateKeyEntry privateKey) in setPrivateKeyNoPassword() 323 PrivateKeyEntry privateKey) in setPrivateKey() 339 PrivateKeyEntry privateKey) in setPrivateKeyBytes() 400 PrivateKeyEntry privateKey = (PrivateKeyEntry) actual; in assertPrivateKey() local
|
D | TestUtils.java | 163 static void assertKeyPairSelfConsistent(PublicKey publicKey, PrivateKey privateKey) { in assertKeyPairSelfConsistent() 482 PrivateKey privateKey, in importIntoAndroidKeyStore()
|
D | AndroidKeyStoreTest.java | 1955 PrivateKey privateKey = (PrivateKey) ks.getKey(alias, null); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
|
D | KeyPairGeneratorTest.java | 1707 PrivateKey privateKey, in assertUsableForTLSPeerAuthentication()
|
/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/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | CertInstallDelegateTest.java | 80 PrivateKey privateKey = KeyFactory.getInstance("RSA").generatePrivate( in testCanAccessApis() local
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | KeyManagementTest.java | 327 final PrivateKey privateKey = in getPrivateKey_aliasIsGranted_returnPrivateKey() local 551 private byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey()
|
D | CredentialManagementAppTest.java | 395 private byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | Utils.java | 97 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
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 196 byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey()
|