Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/security/
DKeyPair.java45 private PrivateKey privateKey; field in KeyPair
59 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { in KeyPair()
DSignatureSpi.java83 protected abstract void engineInitSign(PrivateKey privateKey) in engineInitSign()
100 protected void engineInitSign(PrivateKey privateKey, in engineInitSign()
DSignature.java677 public final void initSign(PrivateKey privateKey) in initSign()
704 public final void initSign(PrivateKey privateKey, SecureRandom random) in initSign()
1378 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
1389 protected void engineInitSign(PrivateKey privateKey, SecureRandom sr) in engineInitSign()
1497 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
1503 protected void engineInitSign(PrivateKey privateKey, in engineInitSign()
DSigner.java57 private PrivateKey privateKey; field in Signer
DKeyStore.java525 public PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain) { in PrivateKeyEntry()
555 public PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain, in PrivateKeyEntry()
/libcore/luni/src/test/java/tests/targets/security/
DKeyStoreTest.java142 PrivateKey privateKey = entry.getPrivateKey(); in testKeyStoreCreate() local
143 assertEquals(keyPair.getPrivate(), privateKey); in testKeyStoreCreate() local
DSignatureTestMD2withRSA.java142 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
/libcore/ojluni/annotations/hiddenapi/java/security/
DSignature.java88 public final void initSign(java.security.PrivateKey privateKey) in initSign()
94 java.security.PrivateKey privateKey, java.security.SecureRandom random) in initSign()
211 protected void engineInitSign(java.security.PrivateKey privateKey) in engineInitSign()
217 java.security.PrivateKey privateKey, java.security.SecureRandom random) in engineInitSign()
304 protected void engineInitSign(java.security.PrivateKey privateKey) in engineInitSign()
310 java.security.PrivateKey privateKey, java.security.SecureRandom sr) in engineInitSign()
DKeyStore.java392 java.security.PrivateKey privateKey, java.security.cert.Certificate[] chain) { in PrivateKeyEntry()
397 java.security.PrivateKey privateKey, in PrivateKeyEntry()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStorePrivateKeyEntryTest.java69 PrivateKey privateKey = keyPair.getPrivate(); in testGetCertificateChain() local
DSignatureSpiTest.java156 public void engineInitSign(PrivateKey privateKey) { in engineInitSign()
190 public void engineInitSign(PrivateKey privateKey) { in engineInitSign()
231 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
273 protected void engineInitSign(PrivateKey privateKey, SecureRandom random) in engineInitSign()
DSignerTest.java132 PrivateKeyStub privateKey = new PrivateKeyStub("private", "fff", privateKeyData); in testGetPrivateKey() local
DKeyFactory2Test.java124 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); in test_generatePrivateLjava_security_spec_KeySpec() local
247 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); in test_getKeySpecLjava_security_KeyLjava_lang_Class() local
DSignatureTest.java595 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
655 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
DSignature2Test.java556 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
DKeyFactoryTest.java240 PrivateKey privateKey = factory.generatePrivate(keySpec); in testGeneratePrivate() local
/libcore/ojluni/annotations/mmodule/java/security/
DSignature.annotated.java53 public final void initSign(java.security.PrivateKey privateKey) throws java.security.InvalidKeyExce… in initSign()
55 public final void initSign(java.security.PrivateKey privateKey, java.security.SecureRandom random) … in initSign()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyAgreementThread.java33 private PrivateKey privateKey = null; field in KeyAgreementThread.KeyAgreementGen
/libcore/luni/src/test/java/libcore/java/security/cert/
DFakeOidProvider.java38 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { in engineInitSign()
/libcore/luni/src/test/java/libcore/java/security/
DMockSignatureSpi.java67 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { in engineInitSign()
DSignatureTest.java236 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { in engineInitSign()
500 public void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { in engineInitSign()
/libcore/benchmarks/src/benchmarks/regression/
DSignatureBenchmark.java63 private PrivateKey privateKey; field in SignatureBenchmark
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java559 final PrivateKey privateKey; in createKeys() local
649 PrivateKey privateKey, in createCa()
669 PrivateKey privateKey, in createCertificate()
828 public static PrivateKeyEntry privateKey(KeyStore keyStore, char[] keyPassword, in privateKey() method in TestKeyStore
837 PrivateKeyEntry privateKey = (PrivateKeyEntry) keyStore.getEntry(alias, password); in privateKey() local
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMySignature1.java71 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java985 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { in engineInitSign()