Encryption and Decryption
[Signing and Encrypting Actions]
Collaboration diagram for Encryption and Decryption:
|
Functions | |
| bool | CryptPlug::findCertificates (const char *addressee, char **certificates, int *newSize, bool secretOnly, char **attrOrder, const char *unknownAttrsHandling) |
| bool | CryptPlug::encryptMessage (const char *cleartext, const char **ciphertext, const size_t *cipherLen, const char *addressee, struct StructuringInfo *structuring, int *errId, char **errTxt) |
| bool | CryptPlug::encryptAndSignMessage (const char *cleartext, const char **ciphertext, const char *certificate, struct StructuringInfo *structuring) |
| bool | CryptPlug::decryptMessage (const char *ciphertext, bool cipherIsBinary, int cipherLen, const char **cleartext, const char *certificate, int *errId, char **errTxt) |
| bool | CryptPlug::decryptAndCheckMessage (const char *ciphertext, bool cipherIsBinary, int cipherLen, const char **cleartext, const char *certificate, bool *signatureFound, struct SignatureMetaData *sigmeta, int *errId, char **errTxt, char **attrOrder, const char *unknownAttrsHandling) |
| bool | CryptPlugWrapper::findCertificates (const char *addressee, char **certificates, int *newSize, bool secretOnly) |
| bool | CryptPlugWrapper::encryptMessage (const char *cleartext, const char **ciphertext, const size_t *cipherLen, const char *addressee, StructuringInfoWrapper &structuring, int *errId, char **errTxt) |
| bool | CryptPlugWrapper::encryptAndSignMessage (const char *cleartext, const char **ciphertext, const char *certificate, StructuringInfoWrapper &structuring) |
| bool | CryptPlugWrapper::decryptMessage (const char *ciphertext, bool cipherIsBinary, int cipherLen, char **cleartext, const char *certificate, int *errId, char **errTxt) |
| bool | CryptPlugWrapper::decryptAndCheckMessage (const char *ciphertext, bool cipherIsBinary, int cipherLen, char **cleartext, const char *certificate, bool *signatureFound, CryptPlug::SignatureMetaData *sigmeta, int *errId, char **errTxt) |
Detailed Description
The following methods are used to encrypt and decrypt email messages.Function Documentation
|
||||||||||||||||||||||||||||
|
Find all certificate for a given addressee. NOTE: The certificate parameter must point to a not-yet allocated char*. The function will allocate the memory needed and return the size in newSize. If secretOnly is true, only secret keys are returned. Definition at line 1551 of file cryptplug.cpp. |
|
||||||||||||||||||||||||||||||||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
|||
| struct StructuringInfo * | structuring, | ||
| int * | errId, | ||
| char ** | errTxt | ||
| ) | [inherited] |
||
|
Encrypts an email message in
If the message could be encrypted, the function returns
Use the StructuringInfo data returned in parameter
|
||
| struct |
