/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 22 import java.security.PrivateKey; 75 public PrivateKey getPrivateKey(String arg0) { 172 public PrivateKey getPrivateKey(String alias) {
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 22 import java.security.PrivateKey; 167 public PrivateKey getPrivateKey(String alias) { 171 PrivateKey pk = keyManager.getPrivateKey(alias);
|
/external/chromium_org/third_party/tlslite/tlslite/ |
TLSConnection.py | 130 def handshakeClientCert(self, certChain=None, privateKey=None, 164 @type privateKey: L{tlslite.utils.RSAKey.RSAKey} 165 @param privateKey: The private key to be used if the server 203 privateKey), session=session, settings=settings, 218 privateKey) pair. If the callback returns None, the library 382 privateKey = None # certParams 391 clientCertChain, privateKey = certParams 407 if clientCertChain and not privateKey: 408 raise ValueError("Caller passed a certChain but no privateKey") 409 if privateKey and not clientCertChain [all...] |
/libcore/luni/src/main/java/java/security/ |
KeyStore.java | 47 * @see PrivateKey 322 * if {@code key} is a {@code PrivateKey} and {@code chain} does 333 // Certificate chain is required for PrivateKey 334 if (key != null && key instanceof PrivateKey && (chain == null || chain.length == 0)) { 359 * if {@code key} is a {@code PrivateKey} and {@code chain} [all...] |
Signature.java | 273 * @param privateKey 276 * if {@code privateKey} is not valid. 278 public final void initSign(PrivateKey privateKey) 280 engineInitSign(privateKey); 289 * @param privateKey 294 * if {@code privateKey} is not valid. 296 public final void initSign(PrivateKey privateKey, SecureRandom random) 298 engineInitSign(privateKey, random) [all...] |
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CertInstaller.java | 233 byte[] privatekey = map.get(key); 234 if (privatekey != null) { 235 Log.d(TAG, "found matched key: " + privatekey); 239 mCredentials.setPrivateKey(privatekey); 261 byte[] privatekey = mCredentials.getData(Credentials.EXTRA_PRIVATE_KEY); 264 map.put(key, privatekey); 266 Log.d(TAG, "save privatekey: " + key + " --> #keys:" + map.size());
|
/external/chromium_org/third_party/tlslite/ |
readme.txt | 165 connection.handshakeClientCert(certChain, privateKey) 182 #Load cryptoID certChain and privateKey. Requires cryptoIDlib. 188 privateKey = parseXMLKey(s, private=True) 190 #Load X.509 certChain and privateKey. 196 privateKey = parsePEMKey(s, private=True) 214 privateKey), as appropriate. Alternatively, you can return None, which will 280 connection.handshakeServer(certChain=certChain, privateKey=privateKey, 544 privateKey = parsePEMKey(s, private=True) 552 privateKey=privateKey [all...] |
/external/chromium_org/third_party/openssl/openssl/ssl/ |
ssl_cert.c | 284 if (cert->pkeys[i].privatekey != NULL) 286 ret->pkeys[i].privatekey = cert->pkeys[i].privatekey; 287 CRYPTO_add(&ret->pkeys[i].privatekey->references, 1, 352 if (ret->pkeys[i].privatekey != NULL) 353 EVP_PKEY_free(ret->pkeys[i].privatekey); 394 if (c->pkeys[i].privatekey != NULL) 395 EVP_PKEY_free(c->pkeys[i].privatekey); 482 if (sc->peer_pkeys[i].privatekey != NULL) 483 EVP_PKEY_free(sc->peer_pkeys[i].privatekey); [all...] |
/external/openssl/ssl/ |
ssl_cert.c | 268 if (cert->pkeys[i].privatekey != NULL) 270 ret->pkeys[i].privatekey = cert->pkeys[i].privatekey; 271 CRYPTO_add(&ret->pkeys[i].privatekey->references, 1, 332 if (ret->pkeys[i].privatekey != NULL) 333 EVP_PKEY_free(ret->pkeys[i].privatekey); 374 if (c->pkeys[i].privatekey != NULL) 375 EVP_PKEY_free(c->pkeys[i].privatekey); 462 if (sc->peer_pkeys[i].privatekey != NULL) 463 EVP_PKEY_free(sc->peer_pkeys[i].privatekey); [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiEnterpriseConfig.java | 31 import java.security.PrivateKey; 95 private PrivateKey mClientPrivateKey; 174 PrivateKey userKey = null; 480 * @param privateKey 484 public void setClientKeyEntry(PrivateKey privateKey, X509Certificate clientCertificate) { 489 if (privateKey == null) { 492 if (privateKey.getEncoded() == null) { 497 mClientPrivateKey = privateKey; 516 static boolean isHardwareBackedKey(PrivateKey key) [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
CertificateFactoryTest.java | 36 import java.security.PrivateKey; 517 public PrivateKey privateKey; 535 PrivateKey caKey; 540 caKey = issuer.privateKey; 581 holder.privateKey = keyPair.getPrivate();
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SignatureTest.java | 35 import java.security.PrivateKey; 153 * Class under test for void initSign(PrivateKey) 187 * Class under test for void initSign(PrivateKey, SecureRandom) 537 private class MyPrivateKey extends MyKey implements PrivateKey {} 574 protected void engineInitSign(PrivateKey privateKey)
|
SignedObjectTest.java | 35 import java.security.PrivateKey;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
KeyAgreementSpi.java | 8 import java.security.PrivateKey; 277 if (!(key instanceof PrivateKey)) 283 ECPrivateKeyParameters privKey = (ECPrivateKeyParameters)ECUtil.generatePrivateKeyParameter((PrivateKey)key);
|
/external/chromium_org/net/android/java/src/org/chromium/net/ |
AndroidNetworkLibrary.java | 38 * @param privateKey The private key as DER-encoded PrivateKeyInfo (PKCS#8). 46 public static boolean storeKeyPair(Context context, byte[] publicKey, byte[] privateKey) { 53 intent.putExtra("PKEY", privateKey);
|
/external/chromium_org/third_party/tlslite/patches/ |
status_request.patch | 6 certChain=None, privateKey=None, reqCert=False, 35 certChain, privateKey, reqCert, sessionCache, settings, 62 certChain, privateKey, reqCert,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
CertPinInstallReceiverTest.java | 38 import java.security.PrivateKey; 139 private PrivateKey createKey() throws Exception { 143 return (PrivateKey) keyFactory.generatePrivate(keySpec);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
ECPrivateKey.java | 135 * privateKey OCTET STRING,
|
ECPrivateKeyStructure.java | 120 * privateKey OCTET STRING,
|
/external/chromium_org/net/android/ |
keystore_openssl.cc | 83 // value that matches the wrapped PrivateKey object. See GetRsaPkeyWrapper 277 // Setup an EVP_PKEY to wrap an existing platform RSA PrivateKey object. 314 // Setup an EVP_PKEY to wrap an existing platform RSA PrivateKey object 327 // content with PrivateKey.getEncoded() on these platforms. 359 // Extract the JNI reference to the PrivateKey object. 439 // Setup an EVP_PKEY to wrap an existing DSA platform PrivateKey object. 609 // Setup an EVP_PKEY to wrap an existing platform PrivateKey object. 633 LOG(ERROR) << "Can't decode order from PrivateKey"; 668 // backing this PrivateKey object.
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
CryptoResultImpl.h | 55 virtual void completeWithKeyPair(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey) OVERRIDE;
|
/external/smack/src/org/xbill/DNS/ |
DNSSEC.java | 807 sign(PrivateKey privkey, PublicKey pubkey, int alg, byte [] data, 858 checkAlgorithm(PrivateKey key, int alg) throws UnsupportedAlgorithmException 885 * Generate a DNSSEC signature. key and privateKey must refer to the 889 * @param privkey The PrivateKey to use when signing 898 sign(RRset rrset, DNSKEYRecord key, PrivateKey privkey, 905 * Generate a DNSSEC signature. key and privateKey must refer to the 909 * @param privkey The PrivateKey to use when signing 920 sign(RRset rrset, DNSKEYRecord key, PrivateKey privkey, 940 PrivateKey privkey, Date inception, Date expiration)
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
ECDHKeyAgreementTest.java | 31 import java.security.PrivateKey; 421 Provider keyAgreementProvider, PrivateKey privateKey, PublicKey publicKey) 424 keyAgreement.init(privateKey);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLSocketImpl.java | 29 import java.security.PrivateKey; 500 PrivateKey privateKey = sslParameters.getKeyManager().getPrivateKey(alias); 501 if (privateKey == null) { 515 final OpenSSLKey key = OpenSSLKey.fromPrivateKey(privateKey); [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl3Test.java | 28 import java.security.PrivateKey; 112 PrivateKey pk = new KeyStoreTestSupport.MyPrivateKey(tType, "", new byte[10]);
|