Constants¶
Details¶
- Gcr.MAJOR_VERSION = 4¶
The major version number of the Gcr library.
- Gcr.MICRO_VERSION = 0¶
The micro version number of the Gcr library.
- Gcr.MINOR_VERSION = 2¶
The minor version number of the Gcr library.
- Gcr.PURPOSE_CLIENT_AUTH = '1.3.6.1.5.5.7.3.2'¶
The purpose used to verify the client certificate in a TLS connection.
- Gcr.PURPOSE_CODE_SIGNING = '1.3.6.1.5.5.7.3.3'¶
The purpose used to verify certificate used for the signature on signed code.
- Gcr.PURPOSE_EMAIL = '1.3.6.1.5.5.7.3.4'¶
The purpose used to verify certificates that are used in email communication such as S/MIME.
- Gcr.PURPOSE_SERVER_AUTH = '1.3.6.1.5.5.7.3.1'¶
The purpose used to verify the server certificate in a TLS connection. This is the most common purpose in use.
- Gcr.SECRET_EXCHANGE_PROTOCOL_1 = 'sx-aes-1'¶
The current secret exchange protocol. Key agreement is done using DH with the 1536 bit IKE parameter group. Keys are derived using SHA256 with HKDF. The transport encryption is done with 128 bit AES.
- Gcr.UNLOCK_OPTION_ALWAYS = 'always'¶
- Gcr.UNLOCK_OPTION_IDLE = 'idle'¶
- Gcr.UNLOCK_OPTION_SESSION = 'session'¶
- Gcr.UNLOCK_OPTION_TIMEOUT = 'timeout'¶