Home
last modified time | relevance | path

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

12

/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()
53 public ECPrivateKey( in ECPrivateKey() method in ECPrivateKey
65 public ECPrivateKey( in ECPrivateKey() method in ECPrivateKey
82 public ECPrivateKey( in ECPrivateKey() method in ECPrivateKey
92 public ECPrivateKey( in ECPrivateKey() method in ECPrivateKey
[all …]
/external/libchrome/crypto/
Dec_private_key.h37 class CRYPTO_EXPORT ECPrivateKey {
39 ~ECPrivateKey();
44 static std::unique_ptr<ECPrivateKey> Create();
49 static std::unique_ptr<ECPrivateKey> CreateFromPrivateKeyInfo(
59 static std::unique_ptr<ECPrivateKey> CreateFromEncryptedPrivateKeyInfo(
82 std::unique_ptr<ECPrivateKey> Copy() const;
114 ECPrivateKey();
123 DISALLOW_COPY_AND_ASSIGN(ECPrivateKey);
Dec_signature_creator_impl.h18 explicit ECSignatureCreatorImpl(ECPrivateKey* key);
29 ECPrivateKey* key_;
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLECKeyFactory.java25 import java.security.interfaces.ECPrivateKey;
104 } else if (key instanceof ECPrivateKey in engineGetKeySpec()
106 ECPrivateKey ecKey = (ECPrivateKey) key; in engineGetKeySpec()
115 ECPrivateKey ecKey = in engineGetKeySpec()
116 (ECPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); in engineGetKeySpec()
166 } else if (key instanceof ECPrivateKey) { in engineTranslateKey()
167 ECPrivateKey ecKey = (ECPrivateKey) key; in engineTranslateKey()
DOpenSSLECPrivateKey.java28 import java.security.interfaces.ECPrivateKey;
40 public final class OpenSSLECPrivateKey implements ECPrivateKey, OpenSSLKeyHolder {
71 public static OpenSSLKey wrapPlatformKey(ECPrivateKey ecPrivateKey) throws InvalidKeyException { in wrapPlatformKey()
128 private static OpenSSLKey wrapPlatformKey(ECPrivateKey ecPrivateKey, in wrapPlatformKey()
134 public static OpenSSLKey getInstance(ECPrivateKey ecPrivateKey) throws InvalidKeyException { in getInstance()
200 if (!(o instanceof ECPrivateKey)) { in equals()
204 final ECPrivateKey other = (ECPrivateKey) o; in equals()
DOpenSSLKey.java24 import java.security.interfaces.ECPrivateKey;
206 } else if (key instanceof ECPrivateKey) { in wrapPrivateKey()
207 return OpenSSLECPrivateKey.wrapPlatformKey((ECPrivateKey) key); in wrapPrivateKey()
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DEcKeyTest.java29 import java.security.interfaces.ECPrivateKey;
149 ECPrivateKey priv = (ECPrivateKey) keyPair.getPrivate(); in testEncodedPrivateKey()
154 ECPrivateKey decoded = (ECPrivateKey) kf.generatePrivate(spec); in testEncodedPrivateKey()
179 ECPrivateKey priv = (ECPrivateKey) keyPair.getPrivate(); in testKeyGeneration()
DEcdhTest.java26 import java.security.interfaces.ECPrivateKey;
112 public ECPrivateKey getPrivateKey() throws NoSuchAlgorithmException, InvalidKeySpecException { in getPrivateKey()
115 return (ECPrivateKey) kf.generatePrivate(spec); in getPrivateKey()
892 ECPrivateKey priv = (ECPrivateKey) keyGen.generateKeyPair().getPrivate(); in testModifiedPublic()
937 ECPrivateKey priv = (ECPrivateKey) keyGen.generateKeyPair().getPrivate(); in testModifiedPublicSpec()
983 public void testDistinctCurves(String algorithm, ECPrivateKey priv, ECPublicKey pub) in testDistinctCurves()
1055 ECPrivateKey priv; in testWrongOrder()
1059 priv = (ECPrivateKey) keyGen.generateKeyPair().getPrivate(); in testWrongOrder()
DEcdsaTest.java32 import java.security.interfaces.ECPrivateKey;
590 BigInteger extractK(byte[] signature, BigInteger h, ECPrivateKey priv) throws Exception { in extractK()
686 ECPrivateKey priv = (ECPrivateKey) keyPair.getPrivate(); in testBasic()
730 ECPrivateKey priv = (ECPrivateKey) keyPair.getPrivate(); in testBias()
DEciesTest.java26 import java.security.interfaces.ECPrivateKey;
141 ECPrivateKey priv = (ECPrivateKey) keyPair.getPrivate(); in testKeyGeneration()
/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;
38 …implements ECPrivateKey, org.bouncycastle.jce.interfaces.ECPrivateKey, PKCS12BagAttributeCarrier, …
57 ECPrivateKey key, in BCECPrivateKey()
230 …org.bouncycastle.asn1.sec.ECPrivateKey ec = org.bouncycastle.asn1.sec.ECPrivateKey.getInstance(pri… in populateFromPrivKeyInfo()
273 org.bouncycastle.asn1.sec.ECPrivateKey keyStructure; in getEncoded()
277 …keyStructure = new org.bouncycastle.asn1.sec.ECPrivateKey(orderBitLength, this.getS(), publicKey, … in getEncoded()
281 … keyStructure = new org.bouncycastle.asn1.sec.ECPrivateKey(orderBitLength, this.getS(), params); in getEncoded()
DKeyAgreementSpi.java37 import org.bouncycastle.jce.interfaces.ECPrivateKey;
241 + getSimpleName(ECPrivateKey.class) + " for initialisation"); in initFromKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DECUtil.java33 import org.bouncycastle.jce.interfaces.ECPrivateKey;
229 if (key instanceof ECPrivateKey) in generatePrivateKeyParameter()
231 ECPrivateKey k = (ECPrivateKey)key; in generatePrivateKeyParameter()
243 else if (key instanceof java.security.interfaces.ECPrivateKey) in generatePrivateKeyParameter()
245 … java.security.interfaces.ECPrivateKey privKey = (java.security.interfaces.ECPrivateKey)key; in generatePrivateKeyParameter()
265 if (privateKey instanceof java.security.interfaces.ECPrivateKey) in generatePrivateKeyParameter()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPrivateKeyFactory.java20 import org.bouncycastle.asn1.sec.ECPrivateKey;
155 ECPrivateKey ec = ECPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
/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/boringssl/src/crypto/pem/
Dpem_all.c245 IMPLEMENT_PEM_write_cb(ECPrivateKey, EC_KEY, PEM_STRING_ECPRIVATEKEY, in IMPLEMENT_PEM_write_cb() argument
246 ECPrivateKey) in IMPLEMENT_PEM_write_cb()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
DECPrivateKey.java9 public interface ECPrivateKey interface
/external/boringssl/src/include/openssl/
Dpem.h459 DECLARE_PEM_rw_cb(ECPrivateKey, EC_KEY)
/external/boringssl/src/crypto/evp/
Devp_tests.txt52 # The same key, but with the redundant parameters in the ECPrivateKey mismatched.
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...
/external/bouncycastle/patches/
Dbcprov.patch2210 import org.bouncycastle.jce.interfaces.ECPrivateKey;
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12