Searched refs:ECPrivateKey (Results 1 - 25 of 43) sorted by relevance

12

/external/chromium_org/crypto/
H A Dec_private_key.h33 class CRYPTO_EXPORT ECPrivateKey { class in namespace:crypto
35 ~ECPrivateKey();
43 static ECPrivateKey* Create();
49 static ECPrivateKey* CreateSensitive(PK11SlotInfo* slot);
56 static ECPrivateKey* CreateFromEncryptedPrivateKeyInfo(
67 static ECPrivateKey* CreateSensitiveFromEncryptedPrivateKeyInfo(
77 // without having to create a ECPrivateKey object and make a copy of them.
117 ECPrivateKey();
123 static ECPrivateKey* CreateWithParams(PK11SlotInfo* slot,
129 static ECPrivateKey* CreateFromEncryptedPrivateKeyInfoWithParam
[all...]
H A Dec_signature_creator.h16 class ECPrivateKey;
23 virtual ECSignatureCreator* Create(ECPrivateKey* key) = 0;
37 static ECSignatureCreator* Create(ECPrivateKey* key);
H A Dec_private_key_openssl.cc78 ECPrivateKey::~ECPrivateKey() {
84 bool ECPrivateKey::IsSupported() { return true; }
87 ECPrivateKey* ECPrivateKey::Create() {
95 scoped_ptr<ECPrivateKey> result(new ECPrivateKey());
104 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
139 scoped_ptr<ECPrivateKey> resul
202 ECPrivateKey::ECPrivateKey() : key_(NULL) {} function in class:crypto::ECPrivateKey
[all...]
H A Dec_private_key_nss.cc77 ECPrivateKey::~ECPrivateKey() {
85 bool ECPrivateKey::IsSupported() {
90 ECPrivateKey* ECPrivateKey::Create() {
101 ECPrivateKey* ECPrivateKey::CreateSensitive(PK11SlotInfo* slot) {
108 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
126 ECPrivateKey* ECPrivateKe
275 ECPrivateKey::ECPrivateKey() : key_(NULL), public_key_(NULL) {} function in class:crypto::ECPrivateKey
[all...]
H A Dec_private_key_unittest.cc22 scoped_ptr<crypto::ECPrivateKey> keypair1(
23 crypto::ECPrivateKey::Create());
24 scoped_ptr<crypto::ECPrivateKey> keypair2(
25 crypto::ECPrivateKey::Create());
49 scoped_ptr<crypto::ECPrivateKey> keypair3(
50 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
52 scoped_ptr<crypto::ECPrivateKey> keypair4(
53 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
85 scoped_ptr<crypto::ECPrivateKey> keypair1(
86 crypto::ECPrivateKey
[all...]
H A Dec_signature_creator_impl.h15 explicit ECSignatureCreatorImpl(ECPrivateKey* key);
26 ECPrivateKey* key_;
H A Dec_signature_creator.cc19 ECSignatureCreator* ECSignatureCreator::Create(ECPrivateKey* key) {
H A Dec_signature_creator_unittest.cc20 scoped_ptr<crypto::ECPrivateKey> key_original(
21 crypto::ECPrivateKey::Create());
30 scoped_ptr<crypto::ECPrivateKey> key(
31 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
H A Dec_signature_creator_openssl.cc19 ECSignatureCreatorImpl::ECSignatureCreatorImpl(ECPrivateKey* key)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
H A DECPrivateKey.java9 public interface ECPrivateKey interface in inherits:ECKey,PrivateKey
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
H A DECPrivateKey.java23 public class ECPrivateKey class in inherits:ASN1Object
28 private ECPrivateKey( method in class:ECPrivateKey
34 public static ECPrivateKey getInstance(
37 if (obj instanceof ECPrivateKey)
39 return (ECPrivateKey)obj;
44 return new ECPrivateKey(ASN1Sequence.getInstance(obj));
50 public ECPrivateKey( method in class:ECPrivateKey
63 public ECPrivateKey( method in class:ECPrivateKey
70 public ECPrivateKey( method in class:ECPrivateKey
133 * ECPrivateKey
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
H A DECPrivateKeyTest.java26 import java.security.interfaces.ECPrivateKey;
32 * Tests for <code>ECPrivateKey</code> class field
52 k.getSerVerUID(), //ECPrivateKey.serialVersionUID
56 public class checkECPrivateKey implements ECPrivateKey {
58 return "ECPrivateKey";
/external/chromium_org/net/quic/test_tools/
H A Dcrypto_test_utils_nss.cc38 crypto::ECPrivateKey* ecdsa_keypair = HostnameToKey(hostname);
88 crypto::ECPrivateKey* ecdsa_keypair = HostnameToKey(hostname);
96 typedef std::map<string, crypto::ECPrivateKey*> HostnameToKeyMap;
98 crypto::ECPrivateKey* HostnameToKey(const string& hostname) {
104 crypto::ECPrivateKey* keypair = crypto::ECPrivateKey::Create();
/external/chromium_org/net/quic/crypto/
H A Dp256_key_exchange.h70 P256KeyExchange(crypto::ECPrivateKey* key_pair, const uint8* public_key);
72 scoped_ptr<crypto::ECPrivateKey> key_pair_;
H A Dp256_key_exchange_nss.cc31 P256KeyExchange::P256KeyExchange(crypto::ECPrivateKey* key_pair,
65 scoped_ptr<crypto::ECPrivateKey> key_pair(
66 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
109 scoped_ptr<crypto::ECPrivateKey> key_pair(crypto::ECPrivateKey::Create());
/external/chromium_org/net/cert/
H A Dx509_util.h16 class ECPrivateKey;
52 scoped_ptr<crypto::ECPrivateKey>* key,
56 NET_EXPORT_PRIVATE bool CreateDomainBoundCertEC(crypto::ECPrivateKey* key,
H A Dx509_util.cc62 scoped_ptr<crypto::ECPrivateKey>* key,
64 scoped_ptr<crypto::ECPrivateKey> new_key(crypto::ECPrivateKey::Create());
H A Dx509_util_openssl_unittest.cc120 scoped_ptr<crypto::ECPrivateKey> private_key(
121 crypto::ECPrivateKey::Create());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DKeyFactorySpi.java8 import java.security.interfaces.ECPrivateKey;
49 else if (key instanceof ECPrivateKey)
51 return new BCECPrivateKey((ECPrivateKey)key, configuration);
76 else if (spec.isAssignableFrom(java.security.spec.ECPrivateKeySpec.class) && key instanceof ECPrivateKey)
78 ECPrivateKey k = (ECPrivateKey)key;
105 else if (spec.isAssignableFrom(org.bouncycastle.jce.spec.ECPrivateKeySpec.class) && key instanceof ECPrivateKey)
107 ECPrivateKey k = (ECPrivateKey)key;
H A DBCECPrivateKey.java7 import java.security.interfaces.ECPrivateKey;
45 implements ECPrivateKey, org.bouncycastle.jce.interfaces.ECPrivateKey, PKCS12BagAttributeCarrier, ECPointEncoder
64 ECPrivateKey key,
286 org.bouncycastle.asn1.sec.ECPrivateKey ec = org.bouncycastle.asn1.sec.ECPrivateKey.getInstance(privKey);
346 org.bouncycastle.asn1.sec.ECPrivateKey keyStructure;
350 keyStructure = new org.bouncycastle.asn1.sec.ECPrivateKey(this.getS(), publicKey, params);
354 keyStructure = new org.bouncycastle.asn1.sec.ECPrivateKey(this.getS(), params);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
H A DECUtil.java25 import org.bouncycastle.jce.interfaces.ECPrivateKey;
170 if (key instanceof ECPrivateKey)
172 ECPrivateKey k = (ECPrivateKey)key;
184 else if (key instanceof java.security.interfaces.ECPrivateKey)
186 java.security.interfaces.ECPrivateKey privKey = (java.security.interfaces.ECPrivateKey)key;
206 if (privateKey instanceof java.security.interfaces.ECPrivateKey)
/external/chromium_org/net/android/java/src/org/chromium/net/
H A DAndroidKeyStore.java20 import java.security.interfaces.ECPrivateKey;
151 } else if (privateKey instanceof ECPrivateKey) {
188 if (privateKey instanceof ECPrivateKey)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
H A DPrivateKeyFactory.java22 import org.bouncycastle.asn1.sec.ECPrivateKey;
165 ECPrivateKey ec = ECPrivateKey.getInstance(keyInfo.parsePrivateKey());
/external/chromium_org/net/spdy/
H A Dspdy_test_util_common.h157 explicit MockECSignatureCreator(crypto::ECPrivateKey* key);
167 crypto::ECPrivateKey* key_;
180 crypto::ECPrivateKey* key) OVERRIDE;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DJCEECPrivateKey.java7 import java.security.interfaces.ECPrivateKey;
45 implements ECPrivateKey, org.bouncycastle.jce.interfaces.ECPrivateKey, PKCS12BagAttributeCarrier, ECPointEncoder
61 ECPrivateKey key)

Completed in 1137 milliseconds

12