encrypt_and_sign_string Method
Encrypts and signs a string.
Syntax
def encrypt_and_sign_string(s: str) -> str: ...
Remarks
Use this method to encrypt and sign a string and get the protected message in another string.
Specify encryption keys in encrypting_keys property, and/or encryption password via passphrase property. Use signing_keys to provide the signing keys.
Please note that you might need to provide a passphrase to decrypt your signing key. This can be done via on_key_passphrase_needed event, or by assigning the passphrase to the key object's Passphrase property.