Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
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.java307 … public static void setPrivateKeyNoPassword(KeyStore ks, String alias, PrivateKeyEntry privateKey) in setPrivateKeyNoPassword()
319 PrivateKeyEntry privateKey) in setPrivateKey()
335 PrivateKeyEntry privateKey) in setPrivateKeyBytes()
396 PrivateKeyEntry privateKey = (PrivateKeyEntry) actual; in assertPrivateKey() local
DTestUtils.java88 static void assertKeyPairSelfConsistent(PublicKey publicKey, PrivateKey privateKey) { in assertKeyPairSelfConsistent()
404 PrivateKey privateKey, in importIntoAndroidKeyStore()
DKeyPairGeneratorTest.java1354 PrivateKey privateKey, in assertUsableForTLSPeerAuthentication()
DAndroidKeyStoreTest.java1938 PrivateKey privateKey = (PrivateKey) ks.getKey(alias, null); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java434 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTest.this, alias); in getPrivateKey() local
/cts/tests/tests/security/src/android/security/cts/
DOpenSSLHeartbleedTest.java265 PrivateKey privateKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec( in serverBind() local
946 HardcodedCertX509KeyManager(PrivateKey privateKey, X509Certificate[] certChain) { in HardcodedCertX509KeyManager()
DOpenSSLEarlyCCSTest.java263 PrivateKey privateKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec( in serverBind() local