/external/chromium_org/net/android/java/src/org/chromium/net/ |
D | AndroidKeyStore.java | 137 public static byte[] rawSignDigestWithPrivateKey(PrivateKey privateKey, in rawSignDigestWithPrivateKey() argument 144 if (privateKey instanceof RSAPrivateKey) { in rawSignDigestWithPrivateKey() 149 } else if (privateKey instanceof DSAPrivateKey) { in rawSignDigestWithPrivateKey() 151 } else if (privateKey instanceof ECPrivateKey) { in rawSignDigestWithPrivateKey() 159 Log.e(TAG, "Unsupported private key algorithm: " + privateKey.getAlgorithm()); in rawSignDigestWithPrivateKey() 165 signature.initSign(privateKey); in rawSignDigestWithPrivateKey() 169 Log.e(TAG, "Exception while signing message with " + privateKey.getAlgorithm() + in rawSignDigestWithPrivateKey() 183 public static int getPrivateKeyType(PrivateKey privateKey) { in getPrivateKeyType() argument 184 if (privateKey instanceof RSAPrivateKey) in getPrivateKeyType() 186 if (privateKey instanceof DSAPrivateKey) in getPrivateKeyType() [all …]
|
/external/chromium_org/third_party/tlslite/tlslite/integration/ |
D | ClientHelper.py | 14 certChain=None, privateKey=None, argument 106 self.privateKey = None 111 (sharedKey or certChain or privateKey): 117 (password or certChain or privateKey): 122 elif certChain and privateKey and not \ 125 self.privateKey = privateKey 129 sharedKey and not certChain and not privateKey: 159 privateKey=self.privateKey,
|
D | IntegrationHelper.py | 6 certChain=None, privateKey=None, argument 16 self.privateKey = None 21 (sharedKey or certChain or privateKey): 27 (password or certChain or privateKey): 32 elif certChain and privateKey and not \ 35 self.privateKey = privateKey 39 sharedKey and not certChain and not privateKey:
|
D | XMLRPCTransport.py | 14 certChain=None, privateKey=None, argument 115 certChain, privateKey, 128 self.certChain, self.privateKey,
|
D | SMTP_TLS.py | 12 certChain=None, privateKey=None, argument 104 certChain, privateKey,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
D | AsymmetricKeyParameter.java | 8 boolean privateKey; field in AsymmetricKeyParameter 11 boolean privateKey) in AsymmetricKeyParameter() argument 13 this.privateKey = privateKey; in AsymmetricKeyParameter() 18 return privateKey; in isPrivate()
|
/external/chromium_org/remoting/webapp/ |
D | host_controller.js | 153 function startHostWithHash(hostName, publicKey, privateKey, argument 161 private_key: privateKey 180 hostName, publicKey, privateKey, email, refreshToken) { argument 184 null, hostName, publicKey, privateKey, email, refreshToken), 195 hostName, publicKey, privateKey, xhr) { argument 204 null, hostName, publicKey, privateKey), 210 null, hostName, publicKey, privateKey, 230 hostName, privateKey, publicKey, hostClientId, oauthToken) { argument 252 onRegistered.bind(null, hostName, publicKey, privateKey), 264 hostName, privateKey, publicKey, hostClientId) { argument [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
D | KeyPair.cpp | 39 …yPair> KeyPair::create(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey) in create() argument 42 ASSERT(privateKey.type() == blink::WebCryptoKeyTypePrivate); 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() argument 48 , m_privateKey(privateKey) in KeyPair()
|
D | KeyPair.h | 47 …efPtr<KeyPair> create(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey); 50 Key* privateKey() { return m_privateKey.get(); } in privateKey() function 53 KeyPair(const PassRefPtr<Key>& publicKey, const PassRefPtr<Key>& privateKey);
|
/external/chromium_org/net/third_party/mozilla_security_manager/ |
D | nsKeygenHandler.cpp | 107 SECKEYPrivateKey *privateKey = NULL; in GenKeyAndSignChallenge() local 140 privateKey = PK11_GenerateKeyPair(slot, in GenKeyAndSignChallenge() 150 if (!privateKey) { in GenKeyAndSignChallenge() 164 PK11_SetPrivateKeyNickname(privateKey, label.c_str()); in GenKeyAndSignChallenge() 210 privateKey, algTag); in GenKeyAndSignChallenge() 230 if (privateKey) { in GenKeyAndSignChallenge() 235 PK11_DestroyTokenObject(privateKey->pkcs11Slot, privateKey->pkcs11ID); in GenKeyAndSignChallenge() 237 SECKEY_DestroyPrivateKey(privateKey); in GenKeyAndSignChallenge()
|
/external/chromium_org/third_party/tlslite/test/ |
D | twistedserver.py | 17 privateKey = parsePEMKey(s, private=True) variable 33 privateKey=privateKey, 45 privateKey=privateKey,
|
D | httpsserver.py | 12 privateKey = parsePEMKey(s, private=True) variable 20 privateKey=privateKey,
|
D | test.txt | 1 <privateKey xmlns="http://trevp.net/rsa"> 10 </privateKey>
|
/external/chromium_org/third_party/tlslite/patches/ |
D | tls_intolerant.patch | 7 certChain=None, privateKey=None, reqCert=False, 17 certChain, privateKey, reqCert, sessionCache, settings, 24 certChain=None, privateKey=None, reqCert=False, 33 privateKey=privateKey, reqCert=reqCert, 43 certChain, privateKey, reqCert, sessionCache,
|
D | ca_request.patch | 8 certChain=None, privateKey=None, reqCert=False, 30 certChain, privateKey, reqCert, sessionCache, settings, 37 certChain=None, privateKey=None, reqCert=False, 47 privateKey=privateKey, reqCert=reqCert, 56 certChain, privateKey, reqCert, sessionCache, 63 raise ValueError("Caller passed a certChain but no privateKey") 64 if privateKey and not certChain: 65 raise ValueError("Caller passed a privateKey but no certChain")
|
D | signed_certificate_timestamps.patch | 7 certChain=None, privateKey=None, reqCert=False, 30 certChain, privateKey, reqCert, sessionCache, settings, 37 certChain=None, privateKey=None, reqCert=False, 46 privateKey=privateKey, reqCert=reqCert, 57 - certChain, privateKey, reqCert, sessionCache, 59 + certChain, privateKey, reqCert, 66 raise ValueError("Caller passed a privateKey but no certChain")
|
/external/chromium_org/third_party/tlslite/scripts/ |
D | 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/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
D | DSAKeyFactoryImplTest.java | 63 static DSAPrivateKey privateKey; field in DSAKeyFactoryImplTest 111 privateKey = (DSAPrivateKey) keyPair.getPrivate(); 128 privateParams = privateKey.getParams(); 133 privateX = privateKey.getX(); 135 privateAlgorithm = privateKey.getAlgorithm(); 136 privateFormat = privateKey.getFormat(); 138 privateEncoding = privateKey.getEncoded(); 514 kf.getKeySpec( privateKey, DSAPublicKeySpec.class); in testGetKeySpec01() 519 kf.getKeySpec( privateKey, X509EncodedKeySpec.class); in testGetKeySpec01() 563 kf.getKeySpec(privateKey, null); in testGetKeySpec02() [all …]
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
D | RSA_SHA1.java | 89 private PrivateKey privateKey = null; field in RSA_SHA1 101 privateKey = (PrivateKey)privateKeyObject; in initialize() 103 privateKey = getPrivateKeyFromPem((String)privateKeyObject); in initialize() 105 privateKey = getPrivateKeyFromDer((byte[])privateKeyObject); in initialize() 216 if (privateKey == null) { in sign() 222 signer.initSign(privateKey); in sign()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore2Test.java | 52 static PrivateKey privateKey; field in KeyStore2Test 61 privateKey = keyPair.getPrivate(); 146 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert); in creatCertificate() 275 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert); in test_getCertificateAliasLjava_security_cert_Certificate() 306 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert); in test_getCertificateChainLjava_lang_String() 366 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert); in test_getKeyLjava_lang_String$C() 369 byte[] priB = privateKey.getEncoded(); in test_getKeyLjava_lang_String$C() 372 .equals(privateKey.getAlgorithm()); in test_getKeyLjava_lang_String$C() 373 equality &= returnedKey.getFormat().equals(privateKey.getFormat()); in test_getKeyLjava_lang_String$C() 431 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert); in test_isCertificateEntryLjava_lang_String() [all …]
|
D | SignerTest.java | 101 PrivateKeyStub privateKey = new PrivateKeyStub("private", "fff", privateKeyData); in testGetPrivateKey() local 103 KeyPair kp = new KeyPair(publicKey, privateKey); in testGetPrivateKey() 110 assertSame(privateKey, s.getPrivateKey()); in testGetPrivateKey()
|
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/ |
D | WebCrypto.cpp | 74 …WebCryptoResult::completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey) in completeWithKeyPair() argument 77 ASSERT(!privateKey.isNull()); in completeWithKeyPair() 78 m_impl->completeWithKeyPair(publicKey, privateKey); in completeWithKeyPair()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | PrivateKeyInfo.java | 53 ASN1Encodable privateKey) in PrivateKeyInfo() argument 56 this(algId, privateKey, null); in PrivateKeyInfo() 61 ASN1Encodable privateKey, in PrivateKeyInfo() argument 65 … this.privKey = new DEROctetString(privateKey.toASN1Primitive().getEncoded(ASN1Encoding.DER)); in PrivateKeyInfo()
|
/external/chromium_org/third_party/tlslite/tlslite/ |
D | TLSConnection.py | 130 def handshakeClientCert(self, certChain=None, privateKey=None, argument 203 privateKey), session=session, settings=settings, 382 privateKey = None # certParams 391 clientCertChain, privateKey = certParams 407 if clientCertChain and not privateKey: 409 if privateKey and not clientCertChain: 817 clientCertChain, privateKey = certParamsNew 872 privateKey = None 884 if certificateRequest and privateKey: 901 signedBytes = privateKey.sign(verifyBytes) [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | DSASigner.java | 92 PrivateKey privateKey, in engineInitSign() argument 97 engineInitSign(privateKey); in engineInitSign() 101 PrivateKey privateKey) in engineInitSign() argument 106 param = DSAUtil.generatePrivateKeyParameter(privateKey); in engineInitSign()
|