Home
last modified time | relevance | path

Searched refs:KeyAgreement (Results 1 – 17 of 17) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreementTest.java41 import javax.crypto.KeyAgreement;
98 private KeyAgreement[] createKAs() throws Exception { in createKAs()
103 KeyAgreement[] ka = new KeyAgreement[3]; in createKAs()
104 ka[0] = KeyAgreement.getInstance(defaultAlgorithm); in createKAs()
105 ka[1] = KeyAgreement.getInstance(defaultAlgorithm, defaultProvider); in createKAs()
106 ka[2] = KeyAgreement.getInstance(defaultAlgorithm, in createKAs()
122 KeyAgreement.getInstance(null); in testGetInstanceString01()
129 KeyAgreement.getInstance(invalidValues[i]); in testGetInstanceString01()
145 KeyAgreement keyA; in testGetInstanceString02()
147 keyA = KeyAgreement.getInstance(validValues[i]); in testGetInstanceString02()
[all …]
/libcore/luni/src/test/java/libcore/javax/crypto/
DKeyAgreementTest.java23 import javax.crypto.KeyAgreement;
47 KeyAgreement c = KeyAgreement.getInstance("FOO", mockProvider); in testKeyAgreement_getInstance_SuppliedProviderNotRegistered_Success()
65 KeyAgreement c = KeyAgreement.getInstance("FOO", mockProvider); in testKeyAgreement_getInstance_DoesNotSupportKeyClass_Success()
90 KeyAgreement c = KeyAgreement.getInstance("FOO"); in testKeyAgreement_init_DoesNotSupportKeyClass_throwsInvalidKeyException()
/libcore/ojluni/src/main/java/javax/crypto/
DKeyAgreement.java93 public class KeyAgreement { class
141 protected KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, in KeyAgreement() method in KeyAgreement
150 private KeyAgreement(String algorithm) { in KeyAgreement() method in KeyAgreement
199 public static final KeyAgreement getInstance(String algorithm) in getInstance()
212 return new KeyAgreement(algorithm); in getInstance()
256 public static final KeyAgreement getInstance(String algorithm, in getInstance()
263 return new KeyAgreement((KeyAgreementSpi)instance.impl, in getInstance()
299 public static final KeyAgreement getInstance(String algorithm, in getInstance()
305 return new KeyAgreement((KeyAgreementSpi)instance.impl, in getInstance()
/libcore/ojluni/src/test/java/security/KeyAgreement/
DMultiThreadTest.java34 package test.java.security.KeyAgreement;
43 import javax.crypto.KeyAgreement;
159 KeyAgreement ka1 = KeyAgreement.getInstance(kaAlgo, provider); in testKeyAgreement()
163 KeyAgreement ka2 = KeyAgreement.getInstance(kaAlgo, provider); in testKeyAgreement()
DKeyAgreementTest.java33 package test.java.security.KeyAgreement;
43 import javax.crypto.KeyAgreement;
121 KeyAgreement ka1 = KeyAgreement.getInstance(kaAlgo); in testKeyAgreement()
127 KeyAgreement ka2 = KeyAgreement.getInstance(kaAlgo, provider); in testKeyAgreement()
DKeySpecTest.java34 package test.java.security.KeyAgreement;
57 import javax.crypto.KeyAgreement;
242 KeyAgreement ka = KeyAgreement.getInstance(kaAlgo, provider); in getKeyAgreementSecret()
DNegativeTest.java43 package test.java.security.KeyAgreement;
64 import javax.crypto.KeyAgreement;
347 KeyAgreement ka = KeyAgreement.getInstance(kaAlgo, provider); in startKeyAgreement()
DKeySizeTest.java46 package test.java.security.KeyAgreement;
62 import javax.crypto.KeyAgreement;
115 KeyAgreement ka = KeyAgreement.getInstance(kaAlgo, provider); in testKeyAgreement()
/libcore/ojluni/annotations/flagged_api/javax/crypto/
DKeyAgreement.annotated.java31 public class KeyAgreement { class
33 protected KeyAgreement(javax.crypto.KeyAgreementSpi keyAgreeSpi, java.security.Provider provider, j… in KeyAgreement() method in KeyAgreement
37 public static final javax.crypto.KeyAgreement getInstance(java.lang.String algorithm) throws java.s… in getInstance()
39 public static final javax.crypto.KeyAgreement getInstance(java.lang.String algorithm, java.lang.Str… in getInstance()
41 public static final javax.crypto.KeyAgreement getInstance(java.lang.String algorithm, java.security… in getInstance()
/libcore/luni/src/test/java/libcore/java/security/
DKeyAgreementHelper.java22 import javax.crypto.KeyAgreement;
38 KeyAgreement keyAgreement = KeyAgreement.getInstance(algorithmName); in test()
/libcore/ojluni/annotations/mmodule/javax/crypto/
DKeyAgreement.annotated.java39 public class KeyAgreement { class
41 protected KeyAgreement(javax.crypto.KeyAgreementSpi keyAgreeSpi, java.security.Provider provider, j… in KeyAgreement() method in KeyAgreement
45 public static final javax.crypto.KeyAgreement getInstance(java.lang.String algorithm) throws java.s… in getInstance()
47 public static final javax.crypto.KeyAgreement getInstance(java.lang.String algorithm, java.lang.Str… in getInstance()
49 public static final javax.crypto.KeyAgreement getInstance(java.lang.String algorithm, java.security… in getInstance()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyAgreementThread.java28 import javax.crypto.KeyAgreement;
55 KeyAgreement ka = KeyAgreement.getInstance("DH"); in getSecretKey()
/libcore/ojluni/src/test/java/security/Provider/
DProvidersTest.java42 import javax.crypto.KeyAgreement;
446 KeyAgreement.getInstance(algorithm, bcProvider); in testRemovedBCAlgorithms()
/libcore/api/
Dmodule-lib-current.txt558 public class KeyAgreement {
Dcurrent.txt19056 public class KeyAgreement {
19057 ctor protected KeyAgreement(javax.crypto.KeyAgreementSpi, java.security.Provider, String);
19063 …method public static final javax.crypto.KeyAgreement getInstance(String) throws java.security.NoSu…
19064 …method public static final javax.crypto.KeyAgreement getInstance(String, String) throws java.secur…
19065 …method public static final javax.crypto.KeyAgreement getInstance(String, java.security.Provider) t…
/libcore/
Dopenjdk_java_files.bp1297 "ojluni/src/main/java/javax/crypto/KeyAgreement.java",
DEXPECTED_UPSTREAM1290 ojluni/src/main/java/javax/crypto/KeyAgreement.java,jdk8u/jdk8u121-b13,jdk/src/share/classes/javax/…