HomeSort by relevance Sort by last modified time
    Searched refs:ECPrivateKey (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/chromium_org/crypto/
ec_private_key_openssl.cc 11 ECPrivateKey::~ECPrivateKey() {}
14 bool ECPrivateKey::IsSupported() {
19 ECPrivateKey* ECPrivateKey::Create() {
25 ECPrivateKey* ECPrivateKey::CreateSensitive() {
31 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
40 ECPrivateKey* ECPrivateKey::CreateSensitiveFromEncryptedPrivateKeyInfo
    [all...]
ec_private_key.h 32 class CRYPTO_EXPORT ECPrivateKey {
34 ~ECPrivateKey();
42 static ECPrivateKey* Create();
48 static ECPrivateKey* CreateSensitive();
54 static ECPrivateKey* CreateFromEncryptedPrivateKeyInfo(
66 static ECPrivateKey* CreateSensitiveFromEncryptedPrivateKeyInfo(
74 // without having to create a ECPrivateKey object and make a copy of them.
113 ECPrivateKey();
118 static ECPrivateKey* CreateWithParams(bool permanent,
123 static ECPrivateKey* CreateFromEncryptedPrivateKeyInfoWithParams
    [all...]
ec_signature_creator.h 16 class ECPrivateKey;
23 virtual ECSignatureCreator* Create(ECPrivateKey* key) = 0;
37 static ECSignatureCreator* Create(ECPrivateKey* key);
ec_private_key_nss.cc 77 ECPrivateKey::~ECPrivateKey() {
85 bool ECPrivateKey::IsSupported() {
90 ECPrivateKey* ECPrivateKey::Create() {
96 ECPrivateKey* ECPrivateKey::CreateSensitive() {
109 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
122 ECPrivateKey* ECPrivateKey::CreateSensitiveFromEncryptedPrivateKeyInfo
    [all...]
ec_signature_creator_impl.h 15 explicit ECSignatureCreatorImpl(ECPrivateKey* key);
26 ECPrivateKey* key_;
ec_private_key_unittest.cc 13 // Once ECPrivateKey is implemented for OpenSSL, remove this #if block.
17 scoped_ptr<crypto::ECPrivateKey> keypair1(
18 crypto::ECPrivateKey::Create());
29 scoped_ptr<crypto::ECPrivateKey> keypair1(
30 crypto::ECPrivateKey::Create());
31 scoped_ptr<crypto::ECPrivateKey> keypair2(
32 crypto::ECPrivateKey::Create());
56 scoped_ptr<crypto::ECPrivateKey> keypair3(
57 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
59 scoped_ptr<crypto::ECPrivateKey> keypair4
    [all...]
ec_signature_creator.cc 19 ECSignatureCreator* ECSignatureCreator::Create(ECPrivateKey* key) {
ec_signature_creator_openssl.cc 11 ECSignatureCreatorImpl::ECSignatureCreatorImpl(ECPrivateKey* key)
ec_signature_creator_unittest.cc 28 scoped_ptr<crypto::ECPrivateKey> key_original(
29 crypto::ECPrivateKey::Create());
38 scoped_ptr<crypto::ECPrivateKey> key(
39 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
ECPrivateKey.java 9 public interface ECPrivateKey
  /libcore/luni/src/main/java/java/security/interfaces/
ECPrivateKey.java 26 public interface ECPrivateKey extends PrivateKey, ECKey {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
ECPrivateKey.java 23 public class ECPrivateKey
28 private 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(
63 public ECPrivateKey(
70 public ECPrivateKey(
133 * ECPrivateKey ::= SEQUENCE
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
ECPrivateKeyTest.java 26 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/
crypto_test_utils_nss.cc 38 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/cert/
x509_util.h 15 class ECPrivateKey;
41 crypto::ECPrivateKey* key,
x509_util_openssl_unittest.cc 44 scoped_ptr<crypto::ECPrivateKey> private_key(
45 crypto::ECPrivateKey::Create());
  /external/chromium_org/net/quic/crypto/
p256_key_exchange.h 70 P256KeyExchange(crypto::ECPrivateKey* key_pair, const uint8* public_key);
72 scoped_ptr<crypto::ECPrivateKey> key_pair_;
p256_key_exchange_nss.cc 31 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());
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLECPrivateKey.java 25 import java.security.interfaces.ECPrivateKey;
31 public final class OpenSSLECPrivateKey implements ECPrivateKey, OpenSSLKeyHolder {
62 public static OpenSSLKey getInstance(ECPrivateKey ecPrivateKey) throws InvalidKeyException {
64 OpenSSLECGroupContext group = OpenSSLECGroupContext.getInstance(ecPrivateKey
66 final BigInteger privKey = ecPrivateKey.getS();
123 if (!(o instanceof ECPrivateKey)) {
127 final ECPrivateKey other = (ECPrivateKey) o;
OpenSSLECKeyFactory.java 25 import java.security.interfaces.ECPrivateKey;
94 } else if (key instanceof ECPrivateKey
96 ECPrivateKey ecKey = (ECPrivateKey) key;
103 ECPrivateKey ecKey =
104 (ECPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded));
150 } else if (key instanceof ECPrivateKey) {
151 ECPrivateKey ecKey = (ECPrivateKey) key;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
KeyFactorySpi.java 8 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;
BCECPrivateKey.java 7 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/
ECUtil.java 25 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)
  /libcore/luni/src/test/java/libcore/javax/crypto/
ECDHKeyAgreementTest.java 35 import java.security.interfaces.ECPrivateKey;
76 private static final ECPrivateKey KAT_PRIVATE_KEY1;
78 private static final ECPrivateKey KAT_PRIVATE_KEY2;
97 ECPrivateKey privateKey1 = getPrivateKey(KAT_PRIVATE_KEY1_PKCS8, keyFactoryProvider1);
100 ECPrivateKey privateKey2 =
121 ECPublicKey publicKey1, ECPrivateKey privateKey1,
122 ECPublicKey publicKey2, ECPrivateKey privateKey2,
392 private static ECPrivateKey getPrivateKey(byte[] pkcs8EncodedKey, Provider provider)
395 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey));
404 private static ECPrivateKey getPrivateKey(byte[] pkcs8EncodedKey
    [all...]
  /external/chromium_org/net/spdy/
spdy_credential_builder.cc 55 scoped_ptr<crypto::ECPrivateKey> private_key(
56 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(

Completed in 351 milliseconds

1 2 3