/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. 91 ECPrivateKey* Copy() const; 123 ECPrivateKey(); 129 static ECPrivateKey* CreateWithParams(PK11SlotInfo* slot [all...] |
ec_signature_creator_impl.h | 15 explicit ECSignatureCreatorImpl(ECPrivateKey* key); 26 ECPrivateKey* key_;
|
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_private_key_openssl.cc | 83 ECPrivateKey::~ECPrivateKey() { 89 bool ECPrivateKey::IsSupported() { return true; } 92 ECPrivateKey* ECPrivateKey::Create() { 99 scoped_ptr<ECPrivateKey> result(new ECPrivateKey()); 109 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( 148 scoped_ptr<ECPrivateKey> result(new ECPrivateKey) [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(
|
ec_private_key_unittest.cc | 20 scoped_ptr<crypto::ECPrivateKey> keypair1(crypto::ECPrivateKey::Create()); 21 scoped_ptr<crypto::ECPrivateKey> keypair2(crypto::ECPrivateKey::Create()); 47 scoped_ptr<crypto::ECPrivateKey> keypair3( 48 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( 50 scoped_ptr<crypto::ECPrivateKey> keypair4( 51 crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( 87 scoped_ptr<crypto::ECPrivateKey> keypair1(crypto::ECPrivateKey::Create()) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/ |
ECPrivateKey.java | 9 public interface ECPrivateKey
|
/external/chromium_org/net/quic/test_tools/ |
crypto_test_utils_nss.cc | 38 typedef std::map<string, crypto::ECPrivateKey*> HostnameToKeyMap; 40 crypto::ECPrivateKey* HostnameToKey(const string& hostname) { 46 crypto::ECPrivateKey* keypair = crypto::ECPrivateKey::Create();
|
/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/chromium_org/net/quic/crypto/ |
channel_id_chromium.h | 13 class ECPrivateKey; 22 explicit ChannelIDKeyChromium(crypto::ECPrivateKey* ec_private_key); 31 scoped_ptr<crypto::ECPrivateKey> ec_private_key_;
|
p256_key_exchange.h | 68 P256KeyExchange(crypto::ECPrivateKey* key_pair, const uint8* public_key); 70 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/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 51 k.getSerVerUID(), //ECPrivateKey.serialVersionUID 55 public class checkECPrivateKey implements ECPrivateKey { 57 return "ECPrivateKey";
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLECPrivateKey.java | 26 import java.security.interfaces.ECPrivateKey; 32 public final class OpenSSLECPrivateKey implements ECPrivateKey, OpenSSLKeyHolder { 63 public static OpenSSLKey wrapPlatformKey(ECPrivateKey ecPrivateKey) throws InvalidKeyException { 66 group = OpenSSLECGroupContext.getInstance(ecPrivateKey.getParams()); 70 return wrapPlatformKey(ecPrivateKey, group); 73 private static OpenSSLKey wrapPlatformKey(ECPrivateKey ecPrivateKey, 75 return new OpenSSLKey(NativeCrypto.getECPrivateKeyWrapper(ecPrivateKey, 79 public static OpenSSLKey getInstance(ECPrivateKey ecPrivateKey) throws InvalidKeyException [all...] |
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;
|
CryptoUpcalls.java | 25 import java.security.interfaces.ECPrivateKey; 71 } else if (javaKey instanceof ECPrivateKey) {
|
/external/chromium_org/net/cert/ |
x509_util.h | 16 class ECPrivateKey; 52 scoped_ptr<crypto::ECPrivateKey>* key, 56 NET_EXPORT_PRIVATE bool CreateChannelIDEC(crypto::ECPrivateKey* key,
|
x509_util.cc | 62 scoped_ptr<crypto::ECPrivateKey>* key, 64 scoped_ptr<crypto::ECPrivateKey> new_key(crypto::ECPrivateKey::Create());
|
/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; 40 implements ECPrivateKey, org.bouncycastle.jce.interfaces.ECPrivateKey, PKCS12BagAttributeCarrier, ECPointEncoder 59 ECPrivateKey key, 255 org.bouncycastle.asn1.sec.ECPrivateKey ec = org.bouncycastle.asn1.sec.ECPrivateKey.getInstance(privKey); 316 org.bouncycastle.asn1.sec.ECPrivateKey keyStructure; 320 keyStructure = new org.bouncycastle.asn1.sec.ECPrivateKey(this.getS(), publicKey, params); 324 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...] |