signature_algorithm Property
Signature algorithm to be used in outgoing messages.
Syntax
def get_signature_algorithm() -> str: ... def set_signature_algorithm(value: str) -> None: ...
signature_algorithm = property(get_signature_algorithm, set_signature_algorithm)
Default Value
"sha-256"
Remarks
Signature Algorithm can be set to indicate the preferred signing algorithm. Possible values are:
- sha1
- md5
- sha-256 (or sha256) (default)
- sha-384 (or sha384)
- sha-512 (or sha512)
- sha-224 (or sha224)
The default value is "sha-256". When this property is set the mdn_options property is automatically updated to request the MDN receipt be signed with the same algorithm.