/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/ojluni/src/main/java/java/security/ |
D | KeyPair.java | 45 private PrivateKey privateKey; 59 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { in KeyPair() 78 public PrivateKey getPrivate() { in getPrivate()
|
D | Signer.java | 57 private PrivateKey privateKey; 108 public PrivateKey getPrivateKey() { in getPrivateKey() 136 PrivateKey priv = pair.getPrivate(); in setKeyPair()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KSPrivateKeyEntryTest.java | 26 import java.security.PrivateKey; 45 private PrivateKey testPrivateKey; 56 testPrivateKey = (diffKeys ? (PrivateKey)new tmpPrivateKey() : in createParams() 57 (PrivateKey)new tmpPrivateKey(testChain[0].getPublicKey().getAlgorithm())); in createParams() 67 PrivateKey pk = null; in testPrivateKeyEntry01() 83 PrivateKey pk = new tmpPrivateKey(); in testPrivateKeyEntry02() 233 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 | 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 | PrivateKeyTest.java | 25 import java.security.PrivateKey; 44 public class checkPrivateKey implements PrivateKey {
|
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/ojluni/src/main/java/java/security/interfaces/ |
D | ECPrivateKey.java | 28 import java.security.PrivateKey; 41 public interface ECPrivateKey extends PrivateKey, ECKey {
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | MockPrivateKey.java | 19 import java.security.PrivateKey; 25 public class MockPrivateKey implements PrivateKey {
|
D | MockPrivateKey2.java | 19 import java.security.PrivateKey; 25 public class MockPrivateKey2 implements PrivateKey {
|
D | KeyAgreementHelper.java | 20 import java.security.PrivateKey; 37 private void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test()
|
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 | TestKeyPair.java | 27 import java.security.PrivateKey; 595 public PrivateKey getPrivate() throws in getPrivate()
|
D | MySignature1.java | 26 import java.security.PrivateKey; 71 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
|
D | MyKeyPairGenerator1.java | 29 import java.security.PrivateKey; 120 public class PrivKey implements PrivateKey {
|
/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/ojluni/src/main/java/javax/net/ssl/ |
D | X509KeyManager.java | 28 import java.security.PrivateKey; 133 public PrivateKey getPrivateKey(String alias); in getPrivateKey()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS8Key.java | 33 import java.security.PrivateKey; 52 public class PKCS8Key implements PrivateKey { 92 PrivateKey key; in parse() 115 public static PrivateKey parseKey (DerValue in) throws IOException in parseKey() 118 PrivateKey privKey; in parseKey() 168 static PrivateKey buildPKCS8Key (AlgorithmId algid, byte[] key) in buildPKCS8Key()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | FakeOidProvider.java | 5 import java.security.PrivateKey; 38 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { in engineInitSign()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/ |
D | PKCS8Key.java | 33 public class PKCS8Key implements java.security.PrivateKey { 50 public static java.security.PrivateKey parseKey(sun.security.util.DerValue in) in parseKey() 59 static java.security.PrivateKey buildPKCS8Key(sun.security.x509.AlgorithmId algid, byte[] key) in buildPKCS8Key()
|
/libcore/ojluni/annotations/hiddenapi/java/security/ |
D | Signature.java | 88 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()
|