/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | KeyPairTest.java | 78 Object kp = new KeyPair(null, null); 79 assertTrue(kp instanceof KeyPair); 89 Object kp = new KeyPair(TestKeyPair.getPublic(), TestKeyPair.getPrivate()); 90 assertTrue(kp instanceof KeyPair); 98 KeyPair kp = new KeyPair(null, null); 109 KeyPair kp = new KeyPair(null, pk); 118 KeyPair kp = new KeyPair(null, null); 129 KeyPair kp = new KeyPair(pk, null);
|
D | SignerTest.java | 57 …KeyPair kp = new KeyPair(new PublicKeyStub("public", "SignerTest.testToString", null), new Private… in test_toString() 103 KeyPair kp = new KeyPair(publicKey, privateKey); in testGetPrivateKey()
|
D | KeyStorePrivateKeyEntryTest.java | 22 import java.security.KeyPair; 68 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testGetCertificateChain()
|
D | KeyFactory2Test.java | 22 import java.security.KeyPair; 104 KeyPair keys = keyGen.generateKeyPair(); in test_generatePrivateLjava_security_spec_KeySpec() 145 KeyPair keys = keyGen.generateKeyPair(); in test_generatePublicLjava_security_spec_KeySpec() 254 KeyPair keys = keyGen.generateKeyPair(); in test_getKeySpecLjava_security_KeyLjava_lang_Class() 328 KeyPair keys = keyGen.generateKeyPair(); in test_translateKeyLjava_security_Key()
|
D | KeyPairGenerator3Test.java | 97 KeyPair kp, kp1; in testGenKeyPair01() 123 KeyPair kp, kp1; in testGenKeyPair02()
|
D | Signature2Test.java | 22 import java.security.KeyPair; 33 static KeyPair keys;
|
D | KeyPairGenerator5Test.java | 21 import java.security.KeyPair;
|
D | KeyPairGeneratorSpiTest.java | 76 KeyPair kp = keyPairGen.generateKeyPair(); in testKeyPairGeneratorSpi01()
|
D | KeyStore3Test.java | 27 import java.security.KeyPair; 50 private KeyPair keyPair;
|
/external/chromium_org/net/ssl/ |
D | openssl_client_key_store.h | 82 class KeyPair { 84 explicit KeyPair(EVP_PKEY* pub_key, EVP_PKEY* priv_key); 85 KeyPair(const KeyPair& other); 86 void operator=(const KeyPair& other); 87 ~KeyPair(); 93 KeyPair(); // intentionally not implemented. 99 std::vector<KeyPair> pairs_;
|
D | openssl_client_key_store.cc | 52 OpenSSLClientKeyStore::KeyPair::KeyPair(EVP_PKEY* pub_key, in KeyPair() function in net::OpenSSLClientKeyStore::KeyPair 58 OpenSSLClientKeyStore::KeyPair::~KeyPair() { in ~KeyPair() 63 OpenSSLClientKeyStore::KeyPair::KeyPair(const KeyPair& other) { in KeyPair() function in net::OpenSSLClientKeyStore::KeyPair 68 void OpenSSLClientKeyStore::KeyPair::operator=(const KeyPair& other) { in operator =() 91 pairs_.push_back(KeyPair(pub_key, private_key)); in AddKeyPair()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
D | KeyPairTest.java | 26 import java.security.KeyPair; 43 private KeyPair keyPair; 51 keyPair = new KeyPair(publicKey, privateKey); in setUp() 76 Key key1 = ((KeyPair)test).getPublic(); 77 Key key2 = ((KeyPair)reference).getPublic(); 87 key1 = ((KeyPair)test).getPrivate(); 88 key2 = ((KeyPair)reference).getPrivate();
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
D | KeyPair.cpp | 39 PassRefPtr<KeyPair> KeyPair::create(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey… in create() 43 return adoptRef(new KeyPair(Key::create(publicKey), Key::create(privateKey))); in create() 46 KeyPair::KeyPair(const PassRefPtr<Key>& publicKey, const PassRefPtr<Key>& privateKey) in KeyPair() function in WebCore::KeyPair
|
D | KeyPair.h | 45 class KeyPair : public ScriptWrappable, public RefCounted<KeyPair> { 47 …static PassRefPtr<KeyPair> create(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey&… 53 KeyPair(const PassRefPtr<Key>& publicKey, const PassRefPtr<Key>& privateKey);
|
D | CryptoResultImpl.cpp | 81 m_promiseResolver->resolve(KeyPair::create(publicKey, privateKey)); in completeWithKeyPair()
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | MyKeyPairGenerator3.java | 24 import java.security.KeyPair; 43 public KeyPair generateKeyPair() { in generateKeyPair() 46 return new KeyPair(pubK, priK); in generateKeyPair()
|
D | MyKeyPairGenerator1.java | 26 import java.security.KeyPair; 72 public KeyPair generateKeyPair() { in generateKeyPair() 74 return new KeyPair(new PubKey(), new PrivKey()); in generateKeyPair()
|
D | MyKeyPairGenerator2.java | 25 import java.security.KeyPair; 63 public KeyPair generateKeyPair() { in generateKeyPair()
|
D | MyKeyPairGeneratorSpi.java | 26 import java.security.KeyPair; 48 public KeyPair generateKeyPair() { in generateKeyPair()
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
D | SslContextBuilder.java | 23 import java.security.KeyPair; 67 KeyPair keyPair = generateKeyPair(); in build() 89 private KeyPair generateKeyPair() throws GeneralSecurityException { in generateKeyPair() 100 private X509Certificate selfSignedCertificate(KeyPair keyPair) throws GeneralSecurityException { in selfSignedCertificate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | KeyPairGeneratorSpi.java | 5 import java.security.KeyPair; 69 public KeyPair generateKeyPair() in generateKeyPair() 75 return new KeyPair(new BCRSAPublicKey(pub), in generateKeyPair()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | KeyPairGeneratorSpi.java | 5 import java.security.KeyPair; 63 public KeyPair generateKeyPair() in generateKeyPair() 79 return new KeyPair(new BCDSAPublicKey(pub), in generateKeyPair()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyPairGeneratorSpi.java | 4 import java.security.KeyPair; 64 public KeyPair generateKeyPair() in generateKeyPair() 116 return new KeyPair(new BCDHPublicKey(pub), in generateKeyPair()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | KeyPairGeneratorSpi.java | 6 import java.security.KeyPair; 249 public KeyPair generateKeyPair() in generateKeyPair() 265 return new KeyPair(pubKey, in generateKeyPair() 270 return new KeyPair(new BCECPublicKey(algorithm, pub, configuration), in generateKeyPair() 279 … return new KeyPair(pubKey, new BCECPrivateKey(algorithm, priv, pubKey, p, configuration)); in generateKeyPair()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
D | EncodedKeySpec2Test.java | 22 import java.security.KeyPair; 41 KeyPair keys = keyGen.generateKeyPair(); in test_getEncoded()
|