EDataServer.SourceSMIME¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | EDataServer.SourceExtension (4), GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| dup_encryption_certificate() | |
| dup_signing_algorithm() | |
| dup_signing_certificate() | |
| get_encrypt_by_default() | |
| get_encrypt_to_self() | |
| get_encryption_certificate() | |
| get_sign_by_default() | |
| get_signing_algorithm() | |
| get_signing_certificate() | |
| set_encrypt_by_default(encrypt_by_default) | |
| set_encrypt_to_self(encrypt_to_self) | |
| set_encryption_certificate(encryption_certificate) | |
| set_sign_by_default(sign_by_default) | |
| set_signing_algorithm(signing_algorithm) | |
| set_signing_certificate(signing_certificate) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
| Inherited: | EDataServer.SourceExtension (1) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| encrypt-by-default | bool | r/w/c/en | Encrypt outgoing messages by default | 
| encrypt-to-self | bool | r/w/c/en | Always encrypt to myself | 
| encryption-certificate | str | r/w/c/en | S/MIME certificate for encrypting messages | 
| sign-by-default | bool | r/w/c/en | Sign outgoing messages by default | 
| signing-algorithm | str | r/w/c/en | Hash algorithm used to sign messages | 
| signing-certificate | str | r/w/c/en | S/MIME certificate for signing messages | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Fields¶
| Inherited: | GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| parent | EDataServer.SourceExtension | r | 
Class Details¶
- 
class EDataServer.SourceSMIME(**kwargs)¶
- Bases: - EDataServer.SourceExtension- Abstract: - No - Structure: - EDataServer.SourceSMIMEClass- Contains only private data that should be read and manipulated using the functions below. - New in version 3.6. - 
dup_encryption_certificate()¶
- Returns: - a newly-allocated copy of - EDataServer.SourceSMIME- :encryption-certificate- Return type: - str- Thread-safe variation of - EDataServer.SourceSMIME.get_encryption_certificate(). Use this function when accessing self from multiple threads.- The returned string should be freed with - GLib.free() when no longer needed.- New in version 3.6. 
 - 
dup_signing_algorithm()¶
- Returns: - a newly-allocated copy of - EDataServer.SourceSMIME- :signing-algorithm- Return type: - str- Thread-safe variation of - EDataServer.SourceSMIME.get_signing_algorithm(). Use this function when accessing self from multiple threads.- The returned string should be freed with - GLib.free() when no longer needed.- New in version 3.6. 
 - 
dup_signing_certificate()¶
- Returns: - a newly-allocated copy of - EDataServer.SourceSMIME- :signing-certificate- Return type: - str- Thread-safe variation of - EDataServer.SourceSMIME.get_signing_certificate(). Use this function when accessing self from multiple threads.- The returned string should be freed with - GLib.free() when no longer needed.- New in version 3.6. 
 - 
get_encrypt_by_default()¶
- Returns: - whether to encrypt outgoing messages by default - Return type: - bool- Returns whether to encrypt outgoing messages by default using S/MIME software such as Mozilla Network Security Services (NSS). - New in version 3.6. 
 - 
get_encrypt_to_self()¶
- Returns: - whether to “encrypt-to-self” - Return type: - bool- Returns whether to “encrypt-to-self” when sending encrypted messages. - New in version 3.6. 
 - 
get_encryption_certificate()¶
- Returns: - the certificate name used to encrypt messages - Return type: - str- Returns the S/MIME certificate name used to encrypt messages. - New in version 3.6. 
 - 
get_sign_by_default()¶
- Returns: - whether to sign outgoing messages by default - Return type: - bool- Returns whether to digitally sign outgoing messages by default using S/MIME software such as Mozilla Network Security Services (NSS). - New in version 3.6. 
 - 
get_signing_algorithm()¶
- Returns: - the signing algorithm for outgoing messages - Return type: - str- Returns the name of the hash algorithm used to digitally sign outgoing messages. - New in version 3.6. 
 - 
get_signing_certificate()¶
- Returns: - the certificate name used to sign messages - Return type: - str- Returns the S/MIME certificate name used to sign messages. - New in version 3.6. 
 - 
set_encrypt_by_default(encrypt_by_default)¶
- Parameters: - encrypt_by_default ( - bool) – whether to encrypt outgoing messages by default- Sets whether to encrypt outgoing messages by default using S/MIME software such as Mozilla Network Security Services (NSS). - New in version 3.6. 
 - 
set_encrypt_to_self(encrypt_to_self)¶
- Parameters: - encrypt_to_self ( - bool) – whether to “encrypt-to-self”- Sets whether to “encrypt-to-self” when sending encrypted messages. - New in version 3.6. 
 - 
set_encryption_certificate(encryption_certificate)¶
- Parameters: - encryption_certificate ( - stror- None) – the certificate name used to encrypt messages, or- None- Sets the certificate name used to encrypt messages. - If the encryption_certificate string is empty, - Noneis set instead.- New in version 3.6. 
 - 
set_sign_by_default(sign_by_default)¶
- Parameters: - sign_by_default ( - bool) – whether to sign outgoing messages by default- Sets whether to digitally sign outgoing messages by default using S/MIME software such as Mozilla Network Security Services (NSS). - New in version 3.6. 
 - 
set_signing_algorithm(signing_algorithm)¶
- Parameters: - signing_algorithm ( - stror- None) – the signing algorithm for outgoing messages, or- None- Sets the name of the hash algorithm used to digitally sign outgoing messages. - The internal copy of signing_algorithm is automatically stripped of leading and trailing whitespace. If the resulting string is empty, - Noneis set instead.- New in version 3.6. 
 
- 
Property Details¶
- 
EDataServer.SourceSMIME.props.encrypt_by_default¶
- Name: - encrypt-by-default- Type: - bool- Default Value: - False- Flags: - READABLE,- WRITABLE,- CONSTRUCT,- EXPLICIT_NOTIFY- Encrypt outgoing messages by default 
- 
EDataServer.SourceSMIME.props.encrypt_to_self¶
- Name: - encrypt-to-self- Type: - bool- Default Value: - True- Flags: - READABLE,- WRITABLE,- CONSTRUCT,- EXPLICIT_NOTIFY- Always encrypt to myself 
- 
EDataServer.SourceSMIME.props.encryption_certificate¶
- Name: - encryption-certificate- Type: - str- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT,- EXPLICIT_NOTIFY- S/MIME certificate for encrypting messages 
- 
EDataServer.SourceSMIME.props.sign_by_default¶
- Name: - sign-by-default- Type: - bool- Default Value: - False- Flags: - READABLE,- WRITABLE,- CONSTRUCT,- EXPLICIT_NOTIFY- Sign outgoing messages by default