EDataServer.SourceSMIME¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c/en |
Encrypt outgoing messages by default |
||
r/w/c/en |
Always encrypt to myself |
||
r/w/c/en |
S/MIME certificate for encrypting messages |
||
r/w/c/en |
Sign outgoing messages by default |
||
r/w/c/en |
Hash algorithm used to sign messages |
||
r/w/c/en |
S/MIME certificate for signing messages |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class EDataServer.SourceSMIME(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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:
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:
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:
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:
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:
Returns whether to “encrypt-to-self” when sending encrypted messages.
New in version 3.6.
- get_encryption_certificate()¶
-
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:
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 name of the hash algorithm used to digitally sign outgoing messages.
New in version 3.6.
- get_signing_certificate()¶
-
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 (
str
orNone
) – the certificate name used to encrypt messages, orNone
Sets the certificate name used to encrypt messages.
If the encryption_certificate string is empty,
None
is 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.
Property Details¶
- EDataServer.SourceSMIME.props.encrypt_by_default¶
- Name:
encrypt-by-default
- Type:
- Default Value:
- Flags:
Encrypt outgoing messages by default
- EDataServer.SourceSMIME.props.encrypt_to_self¶
- Name:
encrypt-to-self
- Type:
- Default Value:
- Flags:
Always encrypt to myself
- EDataServer.SourceSMIME.props.encryption_certificate¶
- Name:
encryption-certificate
- Type:
- Default Value:
- Flags:
S/MIME certificate for encrypting messages
- EDataServer.SourceSMIME.props.sign_by_default¶
- Name:
sign-by-default
- Type:
- Default Value:
- Flags:
Sign outgoing messages by default
- EDataServer.SourceSMIME.props.signing_algorithm¶
- Name:
signing-algorithm
- Type:
- Default Value:
- Flags:
Hash algorithm used to sign messages