/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
AsymmetricKeyParameter.java | 8 boolean privateKey; 11 boolean privateKey) 13 this.privateKey = privateKey; 18 return privateKey;
|
/libcore/luni/src/main/java/java/security/ |
KeyPair.java | 26 * @see PrivateKey 32 private final PrivateKey privateKey; 41 * @param privateKey 44 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { 45 this.privateKey = privateKey; 54 public PrivateKey getPrivate() { 55 return privateKey; [all...] |
Signer.java | 32 private PrivateKey privateKey; 69 public PrivateKey getPrivateKey() { 70 return privateKey; 92 this.privateKey = pair.getPrivate();
|
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/third_party/WebKit/Source/modules/crypto/ |
KeyPair.idl | 35 readonly attribute Key privateKey;
|
KeyPair.cpp | 39 PassRefPtr<KeyPair> KeyPair::create(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey) 42 ASSERT(privateKey.type() == blink::WebCryptoKeyTypePrivate); 43 return adoptRef(new KeyPair(Key::create(publicKey), Key::create(privateKey))); 46 KeyPair::KeyPair(const PassRefPtr<Key>& publicKey, const PassRefPtr<Key>& privateKey) 48 , m_privateKey(privateKey)
|
KeyPair.h | 47 static PassRefPtr<KeyPair> create(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey); 50 Key* privateKey() { return m_privateKey.get(); } 53 KeyPair(const PassRefPtr<Key>& publicKey, const PassRefPtr<Key>& privateKey);
|
CryptoResultImpl.cpp | 79 void CryptoResultImpl::completeWithKeyPair(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey) 81 m_promiseResolver->resolve(KeyPair::create(publicKey, privateKey));
|
CryptoResultImpl.h | 55 virtual void completeWithKeyPair(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey) OVERRIDE;
|
/external/chromium_org/net/android/java/src/org/chromium/net/ |
AndroidKeyStore.java | 14 import java.security.PrivateKey; 41 * @param key A PrivateKey instance, must implement RSAKey. 46 public static byte[] getRSAKeyModulus(PrivateKey key) { 61 * @param key A PrivateKey instance. Must implement DSAKey. 66 public static byte[] getDSAKeyParamQ(PrivateKey key) { 79 * @param key A PrivateKey instance. Must implement ECKey. 84 public static byte[] getECKeyOrder(PrivateKey key) { 95 * Returns the encoded data corresponding to a given PrivateKey. 99 * @param key A PrivateKey instance 103 public static byte[] getPrivateKeyEncodedBytes(PrivateKey key) [all...] |
/external/chromium_org/third_party/tlslite/tlslite/integration/ |
IntegrationHelper.py | 6 certChain=None, privateKey=None, 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:
|
ClientHelper.py | 14 certChain=None, privateKey=None, 24 - certChain, privateKey (certificate) 61 Requires the 'privateKey' argument. Excludes the SRP or 64 @type privateKey: L{tlslite.utils.RSAKey.RSAKey} 65 @param privateKey: Private key for client authentication. 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 = privateKe [all...] |
SMTP_TLS.py | 12 certChain=None, privateKey=None, 26 - certChain, privateKey (certificate) 60 Requires the 'privateKey' argument. Excludes the SRP or 63 @type privateKey: L{tlslite.utils.RSAKey.RSAKey} 64 @param privateKey: Private key for client authentication. 104 certChain, privateKey,
|
XMLRPCTransport.py | 14 certChain=None, privateKey=None, 34 - certChain, privateKey (certificate) 72 Requires the 'privateKey' argument. Excludes the SRP or 75 @type privateKey: L{tlslite.utils.RSAKey.RSAKey} 76 @param privateKey: Private key for client authentication. 115 certChain, privateKey, 128 self.certChain, self.privateKey,
|
/external/chromium_org/third_party/tlslite/test/ |
httpsserver.py | 12 privateKey = parsePEMKey(s, private=True) 20 privateKey=privateKey,
|
twistedserver.py | 17 privateKey = parsePEMKey(s, private=True) 33 privateKey=privateKey, 45 privateKey=privateKey,
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs8/ |
PrivateKeyInfo.java | 39 * privateKey PrivateKey, 46 * PrivateKey ::= OCTET STRING 53 private final byte[] privateKey; 58 byte[] privateKey, List attributes) { 61 this.privateKey = privateKey; 66 AlgorithmIdentifier privateKeyAlgorithm, byte[] privateKey, 68 this(version, privateKeyAlgorithm, privateKey, attributes); 88 return privateKey; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
CryptoResult.h | 48 virtual void completeWithKeyPair(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey) = 0;
|
/external/chromium_org/net/third_party/mozilla_security_manager/ |
nsKeygenHandler.cpp | 107 SECKEYPrivateKey *privateKey = NULL; 140 privateKey = PK11_GenerateKeyPair(slot, 150 if (!privateKey) { 164 PK11_SetPrivateKeyNickname(privateKey, label.c_str()); 210 privateKey, algTag); 230 if (privateKey) { 235 PK11_DestroyTokenObject(privateKey->pkcs11Slot, privateKey->pkcs11ID); 237 SECKEY_DestroyPrivateKey(privateKey);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/ |
WebCrypto.cpp | 74 void WebCryptoResult::completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey) 77 ASSERT(!privateKey.isNull()); 78 m_impl->completeWithKeyPair(publicKey, privateKey);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLSignature.java | 22 import java.security.PrivateKey; 147 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { 150 if (privateKey instanceof OpenSSLKeyHolder) { 151 OpenSSLKey pkey = ((OpenSSLKeyHolder) privateKey).getOpenSSLKey(); 154 } else if (privateKey instanceof RSAPrivateCrtKey) { 159 RSAPrivateCrtKey rsaPrivateKey = (RSAPrivateCrtKey) privateKey; 161 } else if (privateKey instanceof RSAPrivateKey) { 166 RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) privateKey; 168 } else if (privateKey instanceof DSAPrivateKey) [all...] |
OpenSSLSignatureRawRSA.java | 22 import java.security.PrivateKey; 93 protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { 94 if (privateKey instanceof OpenSSLRSAPrivateKey) { 95 OpenSSLRSAPrivateKey rsaPrivateKey = (OpenSSLRSAPrivateKey) privateKey; 97 } else if (privateKey instanceof RSAPrivateCrtKey) { 98 RSAPrivateCrtKey rsaPrivateKey = (RSAPrivateCrtKey) privateKey; 100 } else if (privateKey instanceof RSAPrivateKey) { 101 RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) privateKey;
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
DSAKeyFactoryImpl.java | 24 import java.security.PrivateKey; 50 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) 121 DSAPrivateKey privateKey = (DSAPrivateKey) key; 125 x = privateKey.getX(); 127 DSAParams params = privateKey.getParams(); 186 DSAPrivateKey privateKey = (DSAPrivateKey) key; 187 DSAParams params = privateKey.getParams(); 191 privateKey.getX(), params.getP(), params.getQ(),
|
/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());
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
KeyAgreementThread.java | 24 import java.security.PrivateKey; 33 private PrivateKey privateKey = null; 42 privateKey = keypair.getPrivate(); 56 ka.init(privateKey);
|