Searched refs:PrivateKey (Results 1 – 25 of 67) sorted by relevance
123
/libcore/luni/src/main/java/java/security/ |
D | KeyPair.java | 32 private final PrivateKey privateKey; 44 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { in KeyPair() 54 public PrivateKey getPrivate() { in getPrivate()
|
D | Signer.java | 32 private PrivateKey privateKey; 69 public PrivateKey getPrivateKey() { in getPrivateKey()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | RandomPrivateKeyX509ExtendedKeyManager.java | 23 import java.security.PrivateKey; 38 private final Map<String, PrivateKey> cachedKeys = new HashMap<String, PrivateKey>(); 45 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() 46 PrivateKey originalPrivateKey = super.getPrivateKey(alias); in getPrivateKey() 51 PrivateKey result; in getPrivateKey()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KSPrivateKeyEntryTest.java | 26 import java.security.PrivateKey; 42 private PrivateKey testPrivateKey; 53 testPrivateKey = (diffKeys ? (PrivateKey)new tmpPrivateKey() : in createParams() 54 (PrivateKey)new tmpPrivateKey(testChain[0].getPublicKey().getAlgorithm())); in createParams() 64 PrivateKey pk = null; in testPrivateKeyEntry01() 80 PrivateKey pk = new tmpPrivateKey(); in testPrivateKeyEntry02() 179 private static class tmpPrivateKey implements PrivateKey {
|
D | KeyPairTest.java | 26 import java.security.PrivateKey; 52 static PrivateKey getPrivate() { in getPrivate() 53 return new PrivateKey() { in getPrivate() 109 PrivateKey pk = TestKeyPair.getPrivate();
|
D | PrivateKeyTest.java | 25 import java.security.PrivateKey; 44 public class checkPrivateKey implements PrivateKey {
|
D | SignatureSpiTest.java | 10 import java.security.PrivateKey; 101 protected void engineInitSign(PrivateKey privateKey) in testEngineGetParameters() 156 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() 342 signature.initSign(new PrivateKey() { in testEngineSign_BII() 372 signature.initSign(new PrivateKey() { in testEngineUpdate_ByteBuffer()
|
D | KeyFactorySpiTest.java | 21 import java.security.PrivateKey; 56 protected PrivateKey engineGeneratePrivate(KeySpec keySpec){ in engineGeneratePrivate()
|
D | KeyStorePrivateKeyEntryTest.java | 25 import java.security.PrivateKey; 69 PrivateKey privateKey = keyPair.getPrivate(); in testGetCertificateChain()
|
/libcore/luni/src/main/java/java/security/interfaces/ |
D | ECPrivateKey.java | 21 import java.security.PrivateKey; 26 public interface ECPrivateKey extends PrivateKey, ECKey {
|
D | DSAPrivateKey.java | 21 import java.security.PrivateKey; 26 public interface DSAPrivateKey extends DSAKey, PrivateKey {
|
D | RSAPrivateKey.java | 21 import java.security.PrivateKey; 26 public interface RSAPrivateKey extends PrivateKey, RSAKey {
|
/libcore/luni/src/main/java/javax/crypto/interfaces/ |
D | DHPrivateKey.java | 21 import java.security.PrivateKey; 26 public interface DHPrivateKey extends DHKey, PrivateKey {
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | MockPrivateKey2.java | 19 import java.security.PrivateKey; 25 public class MockPrivateKey2 implements PrivateKey {
|
D | MockPrivateKey.java | 19 import java.security.PrivateKey; 25 public class MockPrivateKey implements PrivateKey {
|
D | MockSignatureSpi.java | 22 import java.security.PrivateKey; 67 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { in engineInitSign()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MyKeyPairGenerator3.java | 27 import java.security.PrivateKey; 46 PrivateKey priK = (new MyKeyPairGenerator1()).new PrivKey(); in generateKeyPair()
|
D | PrivateKeyStub.java | 25 import java.security.PrivateKey; 31 public class PrivateKeyStub implements PrivateKey {
|
D | MySignature2.java | 26 import java.security.PrivateKey; 51 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
|
D | TestKeyPair.java | 27 import java.security.PrivateKey; 595 public PrivateKey getPrivate() throws in getPrivate()
|
/libcore/luni/src/main/java/org/apache/harmony/security/ |
D | PrivateKeyImpl.java | 21 import java.security.PrivateKey; 26 public class PrivateKeyImpl implements PrivateKey {
|
/libcore/luni/src/main/java/javax/net/ssl/ |
D | X509KeyManager.java | 22 import java.security.PrivateKey; 112 public PrivateKey getPrivateKey(String alias); in getPrivateKey()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509ExtendedKeyManagerTest.java | 22 import java.security.PrivateKey; 75 public PrivateKey getPrivateKey(String arg0) { in getPrivateKey() 172 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()
|
/libcore/support/src/test/java/tests/security/ |
D | KeyAgreementHelper.java | 22 import java.security.PrivateKey; 39 void test(PrivateKey encryptKey, PublicKey decryptKey) { in test()
|
D | DefaultKeys.java | 20 import java.security.PrivateKey; 195 …public static PrivateKey getPrivateKey(String algorithmName) throws NoSuchAlgorithmException, Inva… in getPrivateKey()
|
123