Home
last modified time | relevance | path

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

/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DECDHKeyAgreementTest.java191 KeyAgreement keyAgreement = getKeyAgreement(provider); in testInit_withNullPrivateKey() local
193 keyAgreement.init(null); in testInit_withNullPrivateKey()
204 KeyAgreement keyAgreement = getKeyAgreement(provider); in testInit_withUnsupportedPrivateKeyType() local
206 keyAgreement.init(KAT_PUBLIC_KEY1); in testInit_withUnsupportedPrivateKeyType()
241 KeyAgreement keyAgreement = getKeyAgreement(provider); in testDoPhaseReturnsNull() local
242 keyAgreement.init(KAT_PRIVATE_KEY1); in testDoPhaseReturnsNull()
243 assertNull(keyAgreement.doPhase(KAT_PUBLIC_KEY2, true)); in testDoPhaseReturnsNull()
252 KeyAgreement keyAgreement = getKeyAgreement(provider); in testDoPhase_withPhaseWhichIsNotLast() local
253 keyAgreement.init(KAT_PRIVATE_KEY1); in testDoPhase_withPhaseWhichIsNotLast()
255 keyAgreement.doPhase(KAT_PUBLIC_KEY2, false); in testDoPhase_withPhaseWhichIsNotLast()
[all …]
DCipherTest.java1648 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement, false, true, false, true); in testCipherInitWithCertificate()
1660 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement | KeyUsage.encipherOnly, in testCipherInitWithCertificate()
1662 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement | KeyUsage.decipherOnly, in testCipherInitWithCertificate()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DECDHKeyAgreementTest.java193 KeyAgreement keyAgreement = getKeyAgreement(provider); in testInit_withNullPrivateKey() local
195 keyAgreement.init(null); in testInit_withNullPrivateKey()
206 KeyAgreement keyAgreement = getKeyAgreement(provider); in testInit_withUnsupportedPrivateKeyType() local
208 keyAgreement.init(KAT_PUBLIC_KEY1); in testInit_withUnsupportedPrivateKeyType()
243 KeyAgreement keyAgreement = getKeyAgreement(provider); in testDoPhaseReturnsNull() local
244 keyAgreement.init(KAT_PRIVATE_KEY1); in testDoPhaseReturnsNull()
245 assertNull(keyAgreement.doPhase(KAT_PUBLIC_KEY2, true)); in testDoPhaseReturnsNull()
254 KeyAgreement keyAgreement = getKeyAgreement(provider); in testDoPhase_withPhaseWhichIsNotLast() local
255 keyAgreement.init(KAT_PRIVATE_KEY1); in testDoPhase_withPhaseWhichIsNotLast()
257 keyAgreement.doPhase(KAT_PUBLIC_KEY2, false); in testDoPhase_withPhaseWhichIsNotLast()
[all …]
DCipherTest.java1650 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement, false, true, false, true); in testCipherInitWithCertificate()
1662 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement | KeyUsage.encipherOnly, in testCipherInitWithCertificate()
1664 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement | KeyUsage.decipherOnly, in testCipherInitWithCertificate()
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DKeyAgreementHelper.java39 KeyAgreement keyAgreement = KeyAgreement.getInstance(algorithmName); in test() local
40 keyAgreement.init(encryptKey); in test()
41 keyAgreement.doPhase(decryptKey, true); in test()
42 assertNotNull("generated secret is null", keyAgreement.generateSecret()); in test()
DAlgorithmParameterKeyAgreementHelper.java40 KeyAgreement keyAgreement = KeyAgreement.getInstance(algorithmName); in test() local
41 keyAgreement.init(keyPair.getPrivate()); in test()
42 keyAgreement.doPhase(keyPair.getPublic(), true); in test()
43 assertNotNull("generated secret is null", keyAgreement.generateSecret()); in test()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DKeyAgreementHelper.java43 KeyAgreement keyAgreement = KeyAgreement.getInstance(algorithmName); in test() local
44 keyAgreement.init(encryptKey); in test()
45 keyAgreement.doPhase(decryptKey, true); in test()
46 assertNotNull("generated secret is null", keyAgreement.generateSecret()); in test()
DAlgorithmParameterKeyAgreementHelper.java44 KeyAgreement keyAgreement = KeyAgreement.getInstance(algorithmName); in test() local
45 keyAgreement.init(keyPair.getPrivate()); in test()
46 keyAgreement.doPhase(keyPair.getPublic(), true); in test()
47 assertNotNull("generated secret is null", keyAgreement.generateSecret()); in test()
/external/boringssl/src/ssl/test/runner/
Dcipher_suites.go23 type keyAgreement interface { interface
82 ka func(version uint16) keyAgreement
375 func rsaKA(version uint16) keyAgreement {
379 func ecdheECDSAKA(version uint16) keyAgreement {
388 func ecdheRSAKA(version uint16) keyAgreement {
397 func pskKA(version uint16) keyAgreement {
403 func ecdhePSKKA(version uint16) keyAgreement {
Dhandshake_client.go1233 keyAgreement := hs.suite.ka(c.vers)
1238 …err = keyAgreement.processServerKeyExchange(c.config, hs.hello, hs.serverHello, hs.peerPublicKey, …
1243 if ecdhe, ok := keyAgreement.(*ecdheKeyAgreement); ok {
1247 c.peerSignatureAlgorithm = keyAgreement.peerSignatureAlgorithm()
1308 preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, leaf)
Dhandshake_server.go1648 keyAgreement := hs.suite.ka(c.vers)
1649 …skx, err := keyAgreement.generateServerKeyExchange(config, hs.cert, hs.clientHello, hs.hello, c.ve…
1654 if ecdhe, ok := keyAgreement.(*ecdheKeyAgreement); ok {
1764 preMasterSecret, err := keyAgreement.processClientKeyExchange(config, hs.cert, ckx, c.vers)
Dkey_agreement.go757 base keyAgreement
/external/pdfium/fxjs/xfa/
Dcjx_keyusage.h24 JS_PROP(keyAgreement);
Dcjx_keyusage.cpp51 void CJX_KeyUsage::keyAgreement(CFXJSE_Value* pValue, in keyAgreement() function in CJX_KeyUsage
/external/curl/tests/certs/
DServer-localhost-sv.prm4 keyUsage = keyEncipherment,digitalSignature,keyAgreement
DServer-localhost.nn-sv.prm4 keyUsage = keyEncipherment,digitalSignature,keyAgreement
DServer-localhost0h-sv.prm5 keyUsage = keyEncipherment,digitalSignature,keyAgreement
DServer-localhost-sv.pem4 keyUsage = keyEncipherment,digitalSignature,keyAgreement
DServer-localhost.nn-sv.pem4 keyUsage = keyEncipherment,digitalSignature,keyAgreement
DServer-localhost-firstSAN-sv.pem4 keyUsage = keyEncipherment,digitalSignature,keyAgreement
DServer-localhost-lastSAN-sv.pem4 keyUsage = keyEncipherment,digitalSignature,keyAgreement
DServer-localhost0h-sv.pem5 keyUsage = keyEncipherment,digitalSignature,keyAgreement
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DKeyUsage.java31 public static final int keyAgreement = (1 << 3); field in KeyUsage
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DKeyUsage.java33 public static final int keyAgreement = (1 << 3); field in KeyUsage
/external/pdfium/xfa/fxfa/parser/
Dxfa_basic_data_element_script.cpp884 (XFA_ATTRIBUTE_CALLBACK)&CJX_KeyUsage::keyAgreement,