Create a new credential from the certificate and persistence mode.
Note that webkit.types.CredentialPersistence.Permanent is not supported for certificate credentials.
The #GTlsCertificate, or null
The #WebKitCredentialPersistence of the new credential
A #WebKitCredential.
Create a new credential from the certificate and persistence mode.
Note that webkit.types.CredentialPersistence.Permanent is not supported for certificate credentials.