Credential.for_certificate
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.34" ) ]
public Credential.for_certificate (TlsCertificate? certificate, CredentialPersistence persistence)
[ Version ( since = "2.34" ) ]
public Credential.for_certificate (TlsCertificate? certificate, CredentialPersistence persistence)
Create a new credential from the certificate
and persistence mode.
Note that webkit_credential_persistence_permanent is not supported for certificate credentials.
Parameters:
certificate |
The TlsCertificate, or null |
persistence |
The CredentialPersistence of the new credential |
Returns:
A Credential. |