Constants

MAJOR_VERSION = 4

The major version number of the Gcr library.

MICRO_VERSION = 1

The micro version number of the Gcr library.

MINOR_VERSION = 2

The minor version number of the Gcr library.

PURPOSE_CLIENT_AUTH = 1.3.6.1.5.5.7.3.2

The purpose used to verify the client certificate in a TLS connection.

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.

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.

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.

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.

UNLOCK_OPTION_ALWAYS = always
UNLOCK_OPTION_IDLE = idle
UNLOCK_OPTION_SESSION = session
UNLOCK_OPTION_TIMEOUT = timeout