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

1 2 3

  /external/chromium_org/crypto/
ec_signature_creator.h 16 class ECPrivateKey;
23 virtual ECSignatureCreator* Create(ECPrivateKey* key) = 0;
37 static ECSignatureCreator* Create(ECPrivateKey* key);
ec_private_key.h 33 class CRYPTO_EXPORT ECPrivateKey {
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* CreateFromEncryptedPrivateKeyInfoWithParams
    [all...]
ec_private_key_openssl.cc 78 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> result(new ECPrivateKey)
    [all...]
ec_private_key_nss.cc 77 ECPrivateKey::~ECPrivateKey() {
85 bool ECPrivateKey::IsSupported() {
90 ECPrivateKey* ECPrivateKey::Create() {
101 ECPrivateKey* ECPrivateKey::CreateSensitive(PK11SlotInfo* slot) {
108 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
126 ECPrivateKey* ECPrivateKey::CreateSensitiveFromEncryptedPrivateKeyInfo
    [all...]
ec_signature_creator_impl.h 15 explicit ECSignatureCreatorImpl(ECPrivateKey* key);
26 ECPrivateKey* key_;
ec_private_key_unittest.cc 22 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::Create())
    [all...]
ec_signature_creator.cc 19 ECSignatureCreator* ECSignatureCreator::Create(ECPrivateKey* key) {
ec_signature_creator_unittest.cc 20 scoped_ptr<crypto::ECPrivateKey> key_original(
21 crypto::ECPrivateKey::Create());
30 scoped_ptr<crypto::ECPrivateKey> key(
31 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/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());
  /external/chromium_org/net/cert/
x509_util.h 16 class ECPrivateKey;
52 scoped_ptr<crypto::ECPrivateKey>* key,
56 NET_EXPORT_PRIVATE bool CreateDomainBoundCertEC(crypto::ECPrivateKey* key,
x509_util.cc 62 scoped_ptr<crypto::ECPrivateKey>* key,
64 scoped_ptr<crypto::ECPrivateKey> new_key(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();
141 if (!(o instanceof ECPrivateKey)) {
145 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;
OpenSSLSignature.java 28 import java.security.interfaces.ECPrivateKey;
175 } else if (privateKey instanceof ECPrivateKey) {
180 ECPrivateKey ecPrivateKey = (ECPrivateKey) privateKey;
181 key = OpenSSLECPrivateKey.getInstance(ecPrivateKey);
  /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/android/java/src/org/chromium/net/
AndroidKeyStore.java 20 import java.security.interfaces.ECPrivateKey;
151 } else if (privateKey instanceof ECPrivateKey) {
188 if (privateKey instanceof ECPrivateKey)

Completed in 333 milliseconds

1 2 3