
committed by
Daniel Stenberg

parent
052a9dfdad
commit
5be0c88297
@@ -548,7 +548,7 @@ used several times, the last one will be used.
|
|||||||
(SSL) Tells curl to use the specified public key file (or hashes) to verify the
|
(SSL) Tells curl to use the specified public key file (or hashes) to verify the
|
||||||
peer. This can be a path to a file which contains a single public key in PEM or
|
peer. This can be a path to a file which contains a single public key in PEM or
|
||||||
DER format, or any number of base64 encoded sha256 hashes preceded by
|
DER format, or any number of base64 encoded sha256 hashes preceded by
|
||||||
\'sha256//\' and seperated by \';\'
|
\'sha256//\' and separated by \';\'
|
||||||
|
|
||||||
When negotiating a TLS or SSL connection, the server sends a certificate
|
When negotiating a TLS or SSL connection, the server sends a certificate
|
||||||
indicating its identity. A public key is extracted from this certificate and
|
indicating its identity. A public key is extracted from this certificate and
|
||||||
|
@@ -69,7 +69,7 @@ multi handle, the callback must not do that by itself.
|
|||||||
The callback can access PUSH_PROMISE headers with two accessor
|
The callback can access PUSH_PROMISE headers with two accessor
|
||||||
functions. These functions can only be used from within this callback and they
|
functions. These functions can only be used from within this callback and they
|
||||||
can only access the PUSH_PROMISE headers. The normal response headers will be
|
can only access the PUSH_PROMISE headers. The normal response headers will be
|
||||||
pased to the header callback for pushed streams just as for normal streams.
|
passed to the header callback for pushed streams just as for normal streams.
|
||||||
.IP curl_pushheader_bynum
|
.IP curl_pushheader_bynum
|
||||||
Returns the header at index 'num' (or NULL). The returned pointer points to a
|
Returns the header at index 'num' (or NULL). The returned pointer points to a
|
||||||
"name:value" string that will be freed when this callback returns.
|
"name:value" string that will be freed when this callback returns.
|
||||||
|
@@ -31,7 +31,7 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PINNEDPUBLICKEY, char *pinnedpub
|
|||||||
Pass a pointer to a zero terminated string as parameter. The string can be the
|
Pass a pointer to a zero terminated string as parameter. The string can be the
|
||||||
file name of your pinned public key. The file format expected is "PEM" or "DER".
|
file name of your pinned public key. The file format expected is "PEM" or "DER".
|
||||||
The string can also be any number of base64 encoded sha256 hashes preceded by
|
The string can also be any number of base64 encoded sha256 hashes preceded by
|
||||||
"sha256//" and seperated by ";"
|
"sha256//" and separated by ";"
|
||||||
|
|
||||||
When negotiating a TLS or SSL connection, the server sends a certificate
|
When negotiating a TLS or SSL connection, the server sends a certificate
|
||||||
indicating its identity. A public key is extracted from this certificate and
|
indicating its identity. A public key is extracted from this certificate and
|
||||||
|
Reference in New Issue
Block a user