doc/functions/gnutls_ecc_curve_get
raw| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | @deftypefun {gnutls_ecc_curve_t} {gnutls_ecc_curve_get} (gnutls_session_t @var{session}) |
| 6 | @var{session}: is a @code{gnutls_session_t} type. |
| 7 | |
| 8 | Returns the currently used elliptic curve for key exchange. Only valid |
| 9 | when using an elliptic curve ciphersuite. |
| 10 | |
| 11 | @strong{Returns:} the currently used curve, a @code{gnutls_ecc_curve_t} |
| 12 | type. |
| 13 | |
| 14 | @strong{Since:} 3.0 |
| 15 | @end deftypefun |