Home
last modified time | relevance | path

Searched defs:privateKey (Results 1 – 12 of 12) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFakeKeys.java37 public static final byte[] privateKey = { field in FakeKeys.FAKE_RSA_1
292 public static final byte[] privateKey = { field in FakeKeys.FAKE_DSA_1
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DFakeKeys.java37 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/
DRSACipherTest.java50 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
DRSASignatureTest.java61 PrivateKey privateKey = keyPair.getKeystoreBackedKeyPair().getPrivate(); in testMaxMessageSizeWhenNoDigestUsed() local
DSignatureTest.java535 PrivateKey privateKey = key.getOriginalKeyPair().getPrivate(); in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore() local
582 PrivateKey privateKey = keyPair.getPrivate(); in testEntropyConsumption() local
1104 PrivateKey privateKey = TestUtils.importIntoAndroidKeyStore( in assertInitSignSucceeds() local
1137 PrivateKey privateKey = TestUtils.importIntoAndroidKeyStore( in assertInitSignThrowsInvalidKeyException() local
1249 PrivateKey privateKey, in generateSignatureFedUsingFixedSizeChunks()
DKeyStoreTest.java310 … public static void setPrivateKeyNoPassword(KeyStore ks, String alias, PrivateKeyEntry privateKey) in setPrivateKeyNoPassword()
322 PrivateKeyEntry privateKey) in setPrivateKey()
338 PrivateKeyEntry privateKey) in setPrivateKeyBytes()
399 PrivateKeyEntry privateKey = (PrivateKeyEntry) actual; in assertPrivateKey() local
DTestUtils.java109 static void assertKeyPairSelfConsistent(PublicKey publicKey, PrivateKey privateKey) { in assertKeyPairSelfConsistent()
425 PrivateKey privateKey, in importIntoAndroidKeyStore()
DAndroidKeyStoreTest.java1914 PrivateKey privateKey = (PrivateKey) ks.getKey(alias, null); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
DKeyPairGeneratorTest.java1706 PrivateKey privateKey, in assertUsableForTLSPeerAuthentication()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java210 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this, alias); in alias() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java486 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTest.this, alias); in getPrivateKey() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java284 byte[] signDataWithKey(String algoIdentifier, PrivateKey privateKey) throws Exception { in signDataWithKey()