@@ -4080,10 +4080,9 @@ added: v0.7.5
4080
4080
* Returns: {DiffieHellmanGroup}
4081
4081
4082
4082
Creates a predefined ` DiffieHellmanGroup ` key exchange object. The
4083
- supported groups are: ` 'modp1' ` , ` 'modp2' ` , ` 'modp5' ` (defined in
4084
- [ RFC 2412] [ ] , but see [ Caveats] [ ] ) and ` 'modp14' ` , ` 'modp15' ` ,
4085
- ` 'modp16' ` , ` 'modp17' ` , ` 'modp18' ` (defined in [ RFC 3526] [ ] ). The
4086
- returned object mimics the interface of objects created by
4083
+ supported groups are listed in the documentation for [ ` DiffieHellmanGroup ` ] [ ] .
4084
+
4085
+ The returned object mimics the interface of objects created by
4087
4086
[ ` crypto.createDiffieHellman() ` ] [ ] , but will not allow changing
4088
4087
the keys (with [ ` diffieHellman.setPublicKey() ` ] [ ] , for example). The
4089
4088
advantage of using this method is that the parties do not have to
@@ -6001,7 +6000,6 @@ See the [list of SSL OP Flags][] for details.
6001
6000
[ OpenSSL's SPKAC implementation ] : https://www.openssl.org/docs/man1.1.0/apps/openssl-spkac.html
6002
6001
[ RFC 1421 ] : https://www.rfc-editor.org/rfc/rfc1421.txt
6003
6002
[ RFC 2409 ] : https://www.rfc-editor.org/rfc/rfc2409.txt
6004
- [ RFC 2412 ] : https://www.rfc-editor.org/rfc/rfc2412.txt
6005
6003
[ RFC 2818 ] : https://www.rfc-editor.org/rfc/rfc2818.txt
6006
6004
[ RFC 3526 ] : https://www.rfc-editor.org/rfc/rfc3526.txt
6007
6005
[ RFC 3610 ] : https://www.rfc-editor.org/rfc/rfc3610.txt
@@ -6012,6 +6010,7 @@ See the [list of SSL OP Flags][] for details.
6012
6010
[ Web Crypto API documentation ] : webcrypto.md
6013
6011
[ `BN_is_prime_ex` ] : https://www.openssl.org/docs/man1.1.1/man3/BN_is_prime_ex.html
6014
6012
[ `Buffer` ] : buffer.md
6013
+ [ `DiffieHellmanGroup` ] : #class-diffiehellmangroup
6015
6014
[ `EVP_BytesToKey` ] : https://www.openssl.org/docs/man1.1.0/crypto/EVP_BytesToKey.html
6016
6015
[ `KeyObject` ] : #class-keyobject
6017
6016
[ `Sign` ] : #class-sign
0 commit comments