newForCertificatePin

Create a new credential from the provided PIN and persistence mode.

Note that %WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT is not supported for certificate pin credentials.

Return

A #WebKitCredential.

Since

2.34

Parameters

pin

The PIN for the new credential

persistence

The #WebKitCredentialPersistence of the new credential