MailSecuritySettings Type
Provides access to the new message security settings.
Remarks
Use this object to tune up the security setting for the created message.
Fields
| |
claimedSigningTime String |
Specifies the signing time from the signer's computer.
Use this property to specify the signature production time. The claimed time is not covered by the signature, may be forfeited or wrong,
and as such is usually taken by verifiers for informational purposes only.
|
encrypt Bool |
Whether to encrypt the message.
|
encryptionAlgorithm String |
Specifies the encryption algorithm to be used.
| | SB_SYMMETRIC_ALGORITHM_RC4 | RC4 | | SB_SYMMETRIC_ALGORITHM_DES | DES | | SB_SYMMETRIC_ALGORITHM_3DES | 3DES | | SB_SYMMETRIC_ALGORITHM_RC2 | RC2 | | SB_SYMMETRIC_ALGORITHM_AES128 | AES128 | | SB_SYMMETRIC_ALGORITHM_AES192 | AES192 | | SB_SYMMETRIC_ALGORITHM_AES256 | AES256 | | SB_SYMMETRIC_ALGORITHM_AES128_GCM | AES128-GCM | | SB_SYMMETRIC_ALGORITHM_AES192_GCM | AES192-GCM | | SB_SYMMETRIC_ALGORITHM_AES256_GCM | AES256-GCM | |
|
hashAlgorithm String |
Specifies the hash algorithm to be used.
| | SB_HASH_ALGORITHM_MD5 | MD5 | | SB_HASH_ALGORITHM_SHA1 | SHA1 | | SB_HASH_ALGORITHM_SHA256 | SHA256 | | SB_HASH_ALGORITHM_SHA384 | SHA384 | | SB_HASH_ALGORITHM_SHA512 | SHA512 | | SB_HASH_ALGORITHM_SHA3_256 | SHA3_256 | | SB_HASH_ALGORITHM_SHA3_384 | SHA3_384 | | SB_HASH_ALGORITHM_SHA3_512 | SHA3_512 | | SB_HASH_ALGORITHM_BLAKE2S_128 | BLAKE2S_128 | | SB_HASH_ALGORITHM_BLAKE2S_160 | BLAKE2S_160 | | SB_HASH_ALGORITHM_BLAKE2S_224 | BLAKE2S_224 | | SB_HASH_ALGORITHM_BLAKE2S_256 | BLAKE2S_256 | | SB_HASH_ALGORITHM_BLAKE2B_160 | BLAKE2B_160 | | SB_HASH_ALGORITHM_BLAKE2B_256 | BLAKE2B_256 | | SB_HASH_ALGORITHM_BLAKE2B_384 | BLAKE2B_384 | | SB_HASH_ALGORITHM_BLAKE2B_512 | BLAKE2B_512 | |
|
sign Bool |
Whether to sign the message.
|
signatureFormat MailSignatureFormats |
Specifies the signature format to use for the signed message.
Available options:
| | msMultipartSigned | 0 | | msSignedData | 1 | |
|
signBeforeEncrypt Bool |
Specifies the order of encryption and signing operations.
|
signMessageHeader Bool |
Specifies whether to include the message header in the signature calculation.
|
Constructors
public init()
Creates a new MailSecuritySettings object.