/libcore/ojluni/src/main/java/javax/security/auth/x500/ |
D | X500PrivateCredential.java | 28 import java.security.PrivateKey; 43 private PrivateKey key; 57 public X500PrivateCredential(X509Certificate cert, PrivateKey key) { in X500PrivateCredential() 76 public X500PrivateCredential(X509Certificate cert, PrivateKey key, in X500PrivateCredential() 100 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/main/java/android/crypto/hpke/ |
D | HpkeSpi.java | 21 import java.security.PrivateKey; 66 @Nullable PrivateKey senderKey, in engineInitSender() 107 @Nullable PrivateKey senderKey, in engineInitSenderWithSeed() 142 @NonNull PrivateKey recipientKey, in engineInitRecipient()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyPair.java | 46 private PrivateKey privateKey; 60 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { in KeyPair() 79 public PrivateKey getPrivate() { in getPrivate()
|
D | Signer.java | 59 private PrivateKey privateKey; 110 public PrivateKey getPrivateKey() { in getPrivateKey() 138 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 {
|
/libcore/luni/annotations/flagged_api/android/crypto/hpke/ |
D | HpkeSpi.annotated.java | 22 import java.security.PrivateKey; 30 public void engineInitSender(PublicKey recipientKey, byte[] info, PrivateKey senderKey, byte[] psk,… in engineInitSender() 33 public void engineInitSenderWithSeed(PublicKey recipientKey, byte[] info, PrivateKey senderKey, byt… in engineInitSenderWithSeed() 36 public void engineInitRecipient(byte[] encapsulated, PrivateKey recipientKey, byte[] info, PublicKe… in engineInitRecipient()
|
/libcore/tools/go/certutil/ |
D | certutil.go | 32 PrivateKey *ecdsa.PrivateKey member 41 func newKey() *ecdsa.PrivateKey { 67 PrivateKey: newKey(), 81 return &e.PrivateKey.PublicKey 104 ca.PrivateKey)
|
/libcore/luni/src/test/java/libcore/javax/security/auth/ |
D | X500PrivateCredentialTest.java | 34 import java.security.PrivateKey; 49 PrivateKey key = createPrivateKey(); in testX500PrivateCredential_nullArgs() 58 PrivateKey key = createPrivateKey(); in testX500PrivateCredential_validArgs() 107 private static PrivateKey createPrivateKey() in createPrivateKey() 111 PrivateKey key = kpg.generateKeyPair().getPrivate(); in createPrivateKey()
|
/libcore/ojluni/annotations/flagged_api/javax/security/auth/x500/ |
D | X500PrivateCredential.annotated.java | 33 public X500PrivateCredential(java.security.cert.X509Certificate cert, java.security.PrivateKey key)… in X500PrivateCredential() 35 public X500PrivateCredential(java.security.cert.X509Certificate cert, java.security.PrivateKey key,… in X500PrivateCredential() 39 public java.security.PrivateKey getPrivateKey() { throw new RuntimeException("Stub!"); } in getPrivateKey()
|
/libcore/ojluni/src/main/java/java/security/interfaces/ |
D | EdECPrivateKey.java | 27 import java.security.PrivateKey; 44 public interface EdECPrivateKey extends EdECKey, PrivateKey {
|
D | XECPrivateKey.java | 27 import java.security.PrivateKey; 45 public interface XECPrivateKey extends XECKey, PrivateKey {
|
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()
|
/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 {
|
/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/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/test/java/security/KeyAgreement/ |
D | KeySpecTest.java | 44 import java.security.PrivateKey; 142 PrivateKey priKey = kf.generatePrivate(priSpec); in testKeySpecs() 173 PrivateKey priKey = kf.generatePrivate(priSpec); in testEncodedKeySpecs() 240 PublicKey pubKey, PrivateKey priKey) throws Exception { in getKeyAgreementSecret() 252 PrivateKey priKey) { in testKeyEquals() 289 deserializedCopy(keyPair.getPrivate(), PrivateKey.class))) { in testSerialize()
|