generate_digest_auth_response_from_md5


Description:


[ Version ( since = "1.16" ) ]
public string? generate_digest_auth_response_from_md5 (string? algorithm, string method, string md5, string uri, string nonce)

Calculates the digest auth response from the values given by the server and the md5sum.

See RFC2069 for details.

This function is useful when the passwords are not stored in clear text, but instead in the same format as the .htdigest file.

Currently only supported algorithm "md5".

Parameters:

algorithm

Hash algorithm to use, or null for MD5

method

Request method, e.g. PLAY

md5

The md5 sum of username:realm:password

uri

Original request URI

nonce

Nonce

Returns:

Authentication response or null if unsupported


Namespace: Gst.RTSP