Home
last modified time | relevance | path

Searched refs:ECPrivateKey (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/crypto/
Dec_private_key_nss.cc77 ECPrivateKey::~ECPrivateKey() { in ~ECPrivateKey()
85 bool ECPrivateKey::IsSupported() { in IsSupported()
90 ECPrivateKey* ECPrivateKey::Create() { in Create()
101 ECPrivateKey* ECPrivateKey::CreateSensitive(PK11SlotInfo* slot) { in CreateSensitive()
108 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( in CreateFromEncryptedPrivateKeyInfo()
126 ECPrivateKey* ECPrivateKey::CreateSensitiveFromEncryptedPrivateKeyInfo( in CreateSensitiveFromEncryptedPrivateKeyInfo()
142 bool ECPrivateKey::ImportFromEncryptedPrivateKeyInfo( in ImportFromEncryptedPrivateKeyInfo()
211 bool ECPrivateKey::ExportEncryptedPrivateKey( in ExportEncryptedPrivateKey()
256 bool ECPrivateKey::ExportPublicKey(std::vector<uint8>* output) { in ExportPublicKey()
267 bool ECPrivateKey::ExportValue(std::vector<uint8>* output) { in ExportValue()
[all …]
Dec_private_key_openssl.cc78 ECPrivateKey::~ECPrivateKey() { in ~ECPrivateKey()
84 bool ECPrivateKey::IsSupported() { return true; } in IsSupported()
87 ECPrivateKey* ECPrivateKey::Create() { in Create()
95 scoped_ptr<ECPrivateKey> result(new ECPrivateKey()); in Create()
104 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( in CreateFromEncryptedPrivateKeyInfo()
139 scoped_ptr<ECPrivateKey> result(new ECPrivateKey); in CreateFromEncryptedPrivateKeyInfo()
147 bool ECPrivateKey::ExportEncryptedPrivateKey( in ExportEncryptedPrivateKey()
180 bool ECPrivateKey::ExportPublicKey(std::vector<uint8>* output) { in ExportPublicKey()
186 bool ECPrivateKey::ExportValue(std::vector<uint8>* output) { in ExportValue()
194 bool ECPrivateKey::ExportECParams(std::vector<uint8>* output) { in ExportECParams()
[all …]
Dec_private_key.h33 class CRYPTO_EXPORT ECPrivateKey {
35 ~ECPrivateKey();
43 static ECPrivateKey* Create();
49 static ECPrivateKey* CreateSensitive(PK11SlotInfo* slot);
56 static ECPrivateKey* CreateFromEncryptedPrivateKeyInfo(
67 static ECPrivateKey* CreateSensitiveFromEncryptedPrivateKeyInfo(
117 ECPrivateKey();
123 static ECPrivateKey* CreateWithParams(PK11SlotInfo* slot,
129 static ECPrivateKey* CreateFromEncryptedPrivateKeyInfoWithParams(
145 DISALLOW_COPY_AND_ASSIGN(ECPrivateKey);
Dec_private_key_unittest.cc22 scoped_ptr<crypto::ECPrivateKey> keypair1( in TEST()
23 crypto::ECPrivateKey::Create()); in TEST()
24 scoped_ptr<crypto::ECPrivateKey> keypair2( in TEST()
25 crypto::ECPrivateKey::Create()); in TEST()
49 scoped_ptr<crypto::ECPrivateKey> keypair3( in TEST()
50 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( in TEST()
52 scoped_ptr<crypto::ECPrivateKey> keypair4( in TEST()
53 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( in TEST()
85 scoped_ptr<crypto::ECPrivateKey> keypair1( in TEST()
86 crypto::ECPrivateKey::Create()); in TEST()
[all …]
Dec_signature_creator_unittest.cc20 scoped_ptr<crypto::ECPrivateKey> key_original( in TEST()
21 crypto::ECPrivateKey::Create()); in TEST()
30 scoped_ptr<crypto::ECPrivateKey> key( in TEST()
31 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( in TEST()
Dec_signature_creator.h16 class ECPrivateKey; variable
23 virtual ECSignatureCreator* Create(ECPrivateKey* key) = 0;
37 static ECSignatureCreator* Create(ECPrivateKey* key);
Dec_signature_creator_impl.h15 explicit ECSignatureCreatorImpl(ECPrivateKey* key);
26 ECPrivateKey* key_;
Dec_signature_creator.cc19 ECSignatureCreator* ECSignatureCreator::Create(ECPrivateKey* key) { in Create()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
DECPrivateKey.java23 public class ECPrivateKey class
28 private ECPrivateKey( in ECPrivateKey() method in ECPrivateKey
34 public static ECPrivateKey getInstance( in getInstance()
37 if (obj instanceof ECPrivateKey) in getInstance()
39 return (ECPrivateKey)obj; in getInstance()
44 return new ECPrivateKey(ASN1Sequence.getInstance(obj)); in getInstance()
50 public ECPrivateKey( in ECPrivateKey() method in ECPrivateKey
63 public ECPrivateKey( in ECPrivateKey() method in ECPrivateKey
70 public ECPrivateKey( in ECPrivateKey() method in ECPrivateKey
/external/chromium_org/net/quic/test_tools/
Dcrypto_test_utils_nss.cc38 crypto::ECPrivateKey* ecdsa_keypair = HostnameToKey(hostname); in Sign()
88 crypto::ECPrivateKey* ecdsa_keypair = HostnameToKey(hostname); in GetKeyForHostname()
96 typedef std::map<string, crypto::ECPrivateKey*> HostnameToKeyMap;
98 crypto::ECPrivateKey* HostnameToKey(const string& hostname) { in HostnameToKey()
104 crypto::ECPrivateKey* keypair = crypto::ECPrivateKey::Create(); in HostnameToKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyFactorySpi.java8 import java.security.interfaces.ECPrivateKey;
49 else if (key instanceof ECPrivateKey) in engineTranslateKey()
51 return new BCECPrivateKey((ECPrivateKey)key, configuration); in engineTranslateKey()
76 …f (spec.isAssignableFrom(java.security.spec.ECPrivateKeySpec.class) && key instanceof ECPrivateKey) in engineGetKeySpec()
78 ECPrivateKey k = (ECPrivateKey)key; in engineGetKeySpec()
105 ….isAssignableFrom(org.bouncycastle.jce.spec.ECPrivateKeySpec.class) && key instanceof ECPrivateKey) in engineGetKeySpec()
107 ECPrivateKey k = (ECPrivateKey)key; in engineGetKeySpec()
DBCECPrivateKey.java7 import java.security.interfaces.ECPrivateKey;
45 …implements ECPrivateKey, org.bouncycastle.jce.interfaces.ECPrivateKey, PKCS12BagAttributeCarrier, …
64 ECPrivateKey key, in BCECPrivateKey()
286 …org.bouncycastle.asn1.sec.ECPrivateKey ec = org.bouncycastle.asn1.sec.ECPrivateKey.getInstance(pri… in populateFromPrivKeyInfo()
346 org.bouncycastle.asn1.sec.ECPrivateKey keyStructure; in getEncoded()
350 … keyStructure = new org.bouncycastle.asn1.sec.ECPrivateKey(this.getS(), publicKey, params); in getEncoded()
354 keyStructure = new org.bouncycastle.asn1.sec.ECPrivateKey(this.getS(), params); in getEncoded()
DKeyAgreementSpi.java41 import org.bouncycastle.jce.interfaces.ECPrivateKey;
280 + getSimpleName(ECPrivateKey.class) + " for initialisation"); in initFromKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DECUtil.java25 import org.bouncycastle.jce.interfaces.ECPrivateKey;
170 if (key instanceof ECPrivateKey) in generatePrivateKeyParameter()
172 ECPrivateKey k = (ECPrivateKey)key; in generatePrivateKeyParameter()
184 else if (key instanceof java.security.interfaces.ECPrivateKey) in generatePrivateKeyParameter()
186 … java.security.interfaces.ECPrivateKey privKey = (java.security.interfaces.ECPrivateKey)key; in generatePrivateKeyParameter()
206 if (privateKey instanceof java.security.interfaces.ECPrivateKey) in generatePrivateKeyParameter()
/external/chromium_org/net/cert/
Dx509_util.h16 class ECPrivateKey; variable
52 scoped_ptr<crypto::ECPrivateKey>* key,
56 NET_EXPORT_PRIVATE bool CreateDomainBoundCertEC(crypto::ECPrivateKey* key,
Dx509_util.cc62 scoped_ptr<crypto::ECPrivateKey>* key, in CreateKeyAndDomainBoundCertEC()
64 scoped_ptr<crypto::ECPrivateKey> new_key(crypto::ECPrivateKey::Create()); in CreateKeyAndDomainBoundCertEC()
Dx509_util_openssl_unittest.cc120 scoped_ptr<crypto::ECPrivateKey> private_key( in TEST()
121 crypto::ECPrivateKey::Create()); in TEST()
/external/chromium_org/net/quic/crypto/
Dp256_key_exchange_nss.cc31 P256KeyExchange::P256KeyExchange(crypto::ECPrivateKey* key_pair, in P256KeyExchange()
65 scoped_ptr<crypto::ECPrivateKey> key_pair( in New()
66 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( in New()
109 scoped_ptr<crypto::ECPrivateKey> key_pair(crypto::ECPrivateKey::Create()); in NewPrivateKey()
Dp256_key_exchange.h70 P256KeyExchange(crypto::ECPrivateKey* key_pair, const uint8* public_key);
72 scoped_ptr<crypto::ECPrivateKey> key_pair_;
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
DECPrivateKeyTest.java26 import java.security.interfaces.ECPrivateKey;
56 public class checkECPrivateKey implements ECPrivateKey {
/external/chromium_org/net/android/java/src/org/chromium/net/
DAndroidKeyStore.java20 import java.security.interfaces.ECPrivateKey;
151 } else if (privateKey instanceof ECPrivateKey) { in rawSignDigestWithPrivateKey()
188 if (privateKey instanceof ECPrivateKey) in getPrivateKeyType()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPrivateKeyFactory.java22 import org.bouncycastle.asn1.sec.ECPrivateKey;
165 ECPrivateKey ec = ECPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
DECPrivateKey.java9 public interface ECPrivateKey interface
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJCEECPrivateKey.java7 import java.security.interfaces.ECPrivateKey;
45 …implements ECPrivateKey, org.bouncycastle.jce.interfaces.ECPrivateKey, PKCS12BagAttributeCarrier, …
61 ECPrivateKey key) in JCEECPrivateKey()
/external/chromium_org/net/spdy/
Dspdy_test_util_common.h157 explicit MockECSignatureCreator(crypto::ECPrivateKey* key);
167 crypto::ECPrivateKey* key_;
180 crypto::ECPrivateKey* key) OVERRIDE;

12