mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 13:23:07 +02:00
Merge branch 'pgriffis/pkcs11-password' into 'master'
gtlspassword: Add flags signifying PIN type for PKCS#11 See merge request GNOME/glib!2126
This commit is contained in:
commit
11c0b2e597
@ -1703,6 +1703,12 @@ typedef enum {
|
|||||||
* wrong many times, and the user may not have many chances left.
|
* wrong many times, and the user may not have many chances left.
|
||||||
* @G_TLS_PASSWORD_FINAL_TRY: Hint to the user that this is the last try to get
|
* @G_TLS_PASSWORD_FINAL_TRY: Hint to the user that this is the last try to get
|
||||||
* this password right.
|
* this password right.
|
||||||
|
* @G_TLS_PASSWORD_PKCS11_USER: For PKCS #11, the user PIN is required.
|
||||||
|
* Since: 2.70.
|
||||||
|
* @G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER: For PKCS #11, the security officer
|
||||||
|
* PIN is required. Since: 2.70.
|
||||||
|
* @G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC: For PKCS #11, the context-specific
|
||||||
|
* PIN is required. Since: 2.70.
|
||||||
*
|
*
|
||||||
* Various flags for the password.
|
* Various flags for the password.
|
||||||
*
|
*
|
||||||
@ -1714,7 +1720,10 @@ typedef enum _GTlsPasswordFlags
|
|||||||
G_TLS_PASSWORD_NONE = 0,
|
G_TLS_PASSWORD_NONE = 0,
|
||||||
G_TLS_PASSWORD_RETRY = 1 << 1,
|
G_TLS_PASSWORD_RETRY = 1 << 1,
|
||||||
G_TLS_PASSWORD_MANY_TRIES = 1 << 2,
|
G_TLS_PASSWORD_MANY_TRIES = 1 << 2,
|
||||||
G_TLS_PASSWORD_FINAL_TRY = 1 << 3
|
G_TLS_PASSWORD_FINAL_TRY = 1 << 3,
|
||||||
|
G_TLS_PASSWORD_PKCS11_USER = 1 << 4,
|
||||||
|
G_TLS_PASSWORD_PKCS11_SECURITY_OFFICER = 1 << 5,
|
||||||
|
G_TLS_PASSWORD_PKCS11_CONTEXT_SPECIFIC = 1 << 6
|
||||||
} GTlsPasswordFlags;
|
} GTlsPasswordFlags;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user