-
<inner> decrypt
-
Decrypts a message and generates user interface message out of the found.
MDC will be verified as well as message signatures
Parameters:
- Source:
Returns:
plaintext of the message or null on error
-
Type
-
String
-
<inner> decryptAndVerifySignature
-
Decrypts a message and generates user interface message out of the found.
MDC will be verified as well as message signatures
Parameters:
- Source:
Returns:
plaintext of the message or null on error
-
Type
-
String
-
<inner> verifySignature
-
Verifies a message signature. This function can be called after read_message if the message was signed only.
Parameters:
Name |
Type |
Description |
pubkey |
openpgp_msg_publickey
|
Array of public keys to check signature against. If not provided, checks local keystore. |
- Source:
Returns:
true if the signature was correct; otherwise false
-
Type
-
boolean