Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/javax/crypto/
DECDHKeyAgreementTest.java35 import java.security.interfaces.ECPrivateKey;
78 private static final ECPrivateKey KAT_PRIVATE_KEY1;
80 private static final ECPrivateKey KAT_PRIVATE_KEY2;
99 ECPrivateKey privateKey1 = getPrivateKey(KAT_PRIVATE_KEY1_PKCS8, keyFactoryProvider1); in testKnownAnswer()
102 ECPrivateKey privateKey2 = in testKnownAnswer()
123 ECPublicKey publicKey1, ECPrivateKey privateKey1, in testKnownAnswer()
124 ECPublicKey publicKey2, ECPrivateKey privateKey2, in testKnownAnswer()
407 private static ECPrivateKey getPrivateKey(byte[] pkcs8EncodedKey, Provider provider) in getPrivateKey()
410 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey)); in getPrivateKey()
419 private static ECPrivateKey getPrivateKey(byte[] pkcs8EncodedKey) in getPrivateKey()
[all …]
/libcore/ojluni/src/main/java/java/security/interfaces/
DECPrivateKey.java41 public interface ECPrivateKey extends PrivateKey, ECKey { interface
/libcore/support/src/test/java/libcore/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java24 import java.security.interfaces.ECPrivateKey;
77 keyPairGenerator.initialize(((ECPrivateKey) originalPrivateKey).getParams()); in getPrivateKey()
/libcore/luni/src/test/java/libcore/java/security/
DKeyPairGeneratorTest.java37 import java.security.interfaces.ECPrivateKey;
339 if (k instanceof ECPrivateKey) { in test_KeyWithAllKeyFactories()
340 assertECPrivateKeyEquals((ECPrivateKey) k, (ECPrivateKey) privKey); in test_KeyWithAllKeyFactories()
357 private static void assertECPrivateKeyEquals(ECPrivateKey expected, ECPrivateKey actual) { in assertECPrivateKeyEquals()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java57 import java.security.interfaces.ECPrivateKey;
978 } else if (privKey instanceof ECPrivateKey) { in run_SSLSocket_clientAuth_OpaqueKey()
979 return new OpaqueDelegatingECPrivateKey((ECPrivateKey) privKey); in run_SSLSocket_clientAuth_OpaqueKey()
1200 private final ECPrivateKey delegate;
1202 public OpaqueDelegatingECPrivateKey(ECPrivateKey delegate) { in OpaqueDelegatingECPrivateKey()
/libcore/
Dopenjdk_java_files.mk607 ojluni/src/main/java/java/security/interfaces/ECPrivateKey.java \