[ CCode ( has_construct_function = false ) ]
[ 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.
certificate |
The TlsCertificate, or null |
persistence |
The CredentialPersistence of the new credential |
A Credential. |