KDE PIM / Developers / API Docs / certmanager

Encryption Configuration
[Configuration Support]

Functions


Detailed Description

The functions in this section provide the functionality to configure encryption handling and set and query the encryption configuration.

Note:
Whenever the term encryption is used here, it is supposed to mean both encryption and decryption, unless otherwise specified.

Function Documentation

void CryptPlugWrapper::setEncryptionAlgorithm (  EncryptionAlgorithm   )  [inherited]
 

Sets the algorithm used for encrypting.

EncryptionAlgorithm CryptPlugWrapper::encryptionAlgorithm (   )  [inherited]
 

Returns the algorithm used for encrypting.

void CryptPlugWrapper::setEncryptEmail (  EncryptEmail   )  [inherited]
 

Specifies whether email should be automatically encrypted, encrypted after confirmation, encrypted after confirmation for each part or not encrypted at all.

EncryptEmail CryptPlugWrapper::encryptEmail (   )  [inherited]
 

Returns whether email should be automatically encrypted, encrypted after confirmation, encrypted after confirmation for each part or not encrypted at all.

void CryptPlugWrapper::setWarnSendUnencrypted (  bool   )  [inherited]
 

Specifies whether a warning should be emitted when the user tries to send an email message unencrypted.

bool CryptPlugWrapper::warnSendUnencrypted (   )  [inherited]
 

Returns whether a warning should be emitted when the user tries to send an email message unencrypted.

void CryptPlugWrapper::setAlwaysEncryptToSelf (  bool   )  [inherited]
 

Specifies whether messages outgoing in encrypted form should also be encrypted using the sender's certificate to enable her/him to read these messages later.

bool CryptPlugWrapper::alwaysEncryptToSelf (   )  [inherited]
 

Returns whether messages outgoing in encrypted form should also be encrypted using the sender's certificate to enable her/him to read these messages later.

void CryptPlugWrapper::setSaveMessagesEncrypted (  bool   )  [inherited]
 

Specifies whether encrypted email messages should be stored encrypted or decrypted.

bool CryptPlugWrapper::saveMessagesEncrypted (   )  [inherited]
 

Returns whether encrypted email messages should be stored encrypted or decrypted.

void CryptPlugWrapper::setCheckCertificatePath (  bool   )  [inherited]
 

Specifies whether the certificate path should be checked during encryption.

bool CryptPlugWrapper::checkCertificatePath (   )  [inherited]
 

Returns whether the certificate path should be checked during encryption.

void CryptPlugWrapper::setReceiverCertificateExpiryNearWarning (  bool   )  [inherited]
 

Specifies whether a warning should be emitted if the certificate of the receiver expires in the near future.

bool CryptPlugWrapper::receiverCertificateExpiryNearWarning (   )  [inherited]
 

Returns whether a warning should be emitted if the certificate of the receiver expires in the near future.

void CryptPlugWrapper::setReceiverCertificateExpiryNearWarningInterval (  int   )  [inherited]
 

Specifies the number of days which a receiver certificate must be valid before it is considered to expire in the near future.

int CryptPlugWrapper::receiverCertificateExpiryNearWarningInterval (   )  [inherited]
 

Returns the number of days which a receiver certificate must be valid before it is considered to expire in the near future.

void CryptPlugWrapper::setCertificateInChainExpiryNearWarning (  bool   )  [inherited]
 

Specifies whether a warning should be emitted if a certificate in the chain expires in the near future.

bool CryptPlugWrapper::certificateInChainExpiryNearWarning (   )  [inherited]
 

Returns whether a warning should be emitted if a certificate in the chain expires in the near future.

void CryptPlugWrapper::setCertificateInChainExpiryNearWarningInterval (  int   )  [inherited]
 

Specifies the number of days which a certificate in the chain must be valid before it is considered to expire in the near future.

int CryptPlugWrapper::certificateInChainExpiryNearWarningInterval (   )  [inherited]
 

Returns the number of days which a certificate in the chain must be valid before it is considered to expire in the near future.

void CryptPlugWrapper::setReceiverEmailAddressNotInCertificateWarning (  bool   )  [inherited]
 

Specifies whether a warning is emitted if the email address of the receiver does not appear in the certificate.

bool CryptPlugWrapper::receiverEmailAddressNotInCertificateWarning (   )  [inherited]
 

Returns whether a warning is emitted if the email address of the receiver does not appear in the certificate.

void CryptPlugWrapper::setEncryptionUseCRLs (  bool   )  [inherited]
 

Specifies whether certificate revocation lists should be used.

bool CryptPlugWrapper::encryptionUseCRLs (   )  [inherited]
 

Returns whether certificate revocation lists should be used.

void CryptPlugWrapper::setEncryptionCRLExpiryNearWarning (  bool   )  [inherited]
 

Specifies whether a warning should be emitted if any of the certificates involved in the signing process expires in the near future.

bool CryptPlugWrapper::encryptionCRLExpiryNearWarning (   )  [inherited]
 

Returns whether a warning should be emitted if any of the certificates involved in the signing process expires in the near future.

void CryptPlugWrapper::setEncryptionCRLNearExpiryInterval (  int   )  [inherited]
 

Specifies the number of days which a certificate must be valid before it is considered to expire in the near future.

int CryptPlugWrapper::encryptionCRLNearExpiryInterval (   )  [inherited]
 

Returns the number of days which a certificate must be valid before it is considered to expire in the near future.