HomeSort by relevance Sort by last modified time
    Searched full:privatekey (Results 76 - 100 of 310) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium_org/net/android/
keystore_openssl.h 22 // java.security.PrivateKey object, and will call the platform APIs
29 // PrivateKey object.
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLRSAKeyPairGenerator.java 23 import java.security.PrivateKey;
47 PrivateKey privKey = OpenSSLRSAPrivateKey.getInstance(key);
OpenSSLDSAKeyFactory.java 23 import java.security.PrivateKey;
53 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException {
104 } else if (key instanceof PrivateKey && DSAPrivateKeySpec.class.isAssignableFrom(keySpec)) {
114 } else if (key instanceof PrivateKey
176 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) {
OpenSSLECKeyFactory.java 23 import java.security.PrivateKey;
54 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException {
98 } else if (key instanceof PrivateKey && ECPrivateKeySpec.class.isAssignableFrom(keySpec)) {
106 } else if (key instanceof PrivateKey
162 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) {
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactorySpiTest.java 21 import java.security.PrivateKey;
56 protected PrivateKey engineGeneratePrivate(KeySpec keySpec){
SignerTest.java 127 PrivateKeyStub privateKey = new PrivateKeyStub("private", "fff", privateKeyData);
129 KeyPair kp = new KeyPair(publicKey, privateKey);
136 assertSame(privateKey, s.getPrivateKey());
  /libcore/support/src/test/java/libcore/javax/net/ssl/
ForwardingX509ExtendedKeyManager.java 21 import java.security.PrivateKey;
73 public PrivateKey getPrivateKey(String alias) {
  /libcore/support/src/test/java/tests/security/
SignatureHelper.java 22 import java.security.PrivateKey;
42 public void test(PrivateKey encryptKey, PublicKey decryptKey) {
  /external/chromium_org/third_party/tlslite/tlslite/integration/
HTTPTLSConnection.py 61 certChain=None, privateKey=None,
72 - certChain, privateKey (certificate)
117 Requires the 'privateKey' argument. Excludes the SRP or
120 @type privateKey: L{tlslite.utils.RSAKey.RSAKey}
121 @param privateKey: Private key for client authentication.
162 certChain, privateKey,
IMAP4_TLS.py 16 certChain=None, privateKey=None,
27 - certChain, privateKey (certificate)
67 Requires the 'privateKey' argument. Excludes the SRP or
70 @type privateKey: L{tlslite.utils.RSAKey.RSAKey}
71 @param privateKey: Private key for client authentication.
110 certChain, privateKey,
POP3_TLS.py 16 certChain=None, privateKey=None,
27 - certChain, privateKey (certificate)
67 Requires the 'privateKey' argument. Excludes the SRP or
70 @type privateKey: L{tlslite.utils.RSAKey.RSAKey}
71 @param privateKey: Private key for client authentication.
129 certChain, privateKey,
TLSTwistedProtocolWrapper.py 58 privateKey = parsePEMKey(s, private=True)
74 privateKey=privateKey,
86 privateKey=privateKey,
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java 34 import java.security.PrivateKey;
274 @Override public PrivateKey getPrivateKey(String alias) {
277 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this,
279 log("privateKey=" + privateKey);
280 return privateKey;
  /external/chromium_org/third_party/tlslite/scripts/
tls.py 482 certChain=x509Chain, privateKey=x509Key)
492 certChain=x509Chain, privateKey=x509Key)
504 certChain=cryptoIDChain, privateKey=cryptoIDKey)
514 certChain=cryptoIDChain, privateKey=cryptoIDKey)
522 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key)
531 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key, settings=settings)
540 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key)
549 connection.handshakeServer(certChain=cryptoIDChain, privateKey=cryptoIDKey)
558 connection.handshakeServer(certChain=cryptoIDChain, privateKey=cryptoIDKey)
566 connection.handshakeServer(certChain=x509Chain, privateKey=x509Key, reqCert=True
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
X509V3CertificateGenerator.java 9 import java.security.PrivateKey;
319 PrivateKey key)
339 PrivateKey key,
359 PrivateKey key,
373 PrivateKey key,
409 PrivateKey key)
425 PrivateKey key,
456 PrivateKey key,
469 PrivateKey key,
  /libcore/luni/src/main/java/java/security/
SignatureSpi.java 53 * @param privateKey
56 * if {@code privateKey} is not valid.
58 protected abstract void engineInitSign(PrivateKey privateKey)
66 * @param privateKey
71 * if {@code privateKey} is not valid.
73 protected void engineInitSign(PrivateKey privateKey, SecureRandom random)
76 engineInitSign(privateKey);
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
SSLClientCertificateRequest.java 10 import java.security.PrivateKey;
48 private PrivateKey mPrivateKey;
81 PrivateKey key = null;
171 int requestPtr, byte[][] certChain, PrivateKey privateKey);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
SignerTest.java 101 PrivateKeyStub privateKey = new PrivateKeyStub("private", "fff", privateKeyData);
103 KeyPair kp = new KeyPair(publicKey, privateKey);
110 assertSame(privateKey, s.getPrivateKey());
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 24 import java.security.PrivateKey;
87 * Additional class to create PrivateKey object
89 public static class MyPrivateKey implements PrivateKey {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
KeyFactorySpi.java 6 import java.security.PrivateKey;
83 protected PrivateKey engineGeneratePrivate(
133 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
DigestSignatureSpi.java 6 import java.security.PrivateKey;
92 PrivateKey privateKey)
95 if (!(privateKey instanceof RSAPrivateKey))
97 throw new InvalidKeyException("Supplied key (" + getType(privateKey) + ") is not a RSAPrivateKey instance");
100 CipherParameters param = RSAUtil.generatePrivateKeyParameter((RSAPrivateKey)privateKey);
  /external/openssl/patches/
tls12_digests.patch 156 - (c->pkeys[SSL_PKEY_DSA_SIGN].privatekey != NULL))
158 + (c->pkeys[SSL_PKEY_DSA_SIGN].privatekey != NULL))
162 + return c->pkeys[SSL_PKEY_DSA_SIGN].privatekey;
168 if (c->pkeys[SSL_PKEY_RSA_SIGN].privatekey != NULL)
170 - else if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL)
172 + return c->pkeys[SSL_PKEY_RSA_SIGN].privatekey;
173 + if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL)
174 + return c->pkeys[SSL_PKEY_RSA_ENC].privatekey;
177 (c->pkeys[SSL_PKEY_ECC].privatekey != NULL))
185 + return c->pkeys[SSL_PKEY_ECC].privatekey;
    [all...]
  /libcore/luni/src/test/java/tests/targets/security/
SignatureTestMD2withRSA.java 22 import java.security.PrivateKey;
145 protected void engineInitSign(PrivateKey privateKey)
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 24 import java.security.PrivateKey;
87 * Additional class to create PrivateKey object
89 public static class MyPrivateKey implements PrivateKey {
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
KeyChainDemoActivity.java 36 import java.security.PrivateKey;
204 final PrivateKey privateKey = getPrivateKey(alias);
216 privateKeyTv.setText(privateKey.getFormat() + ":" + privateKey);
273 private PrivateKey getPrivateKey(String alias) {

Completed in 709 milliseconds

1 2 34 5 6 7 8 91011>>