SecureBlackbox 2020 macOS Edition

Questions / Feedback?

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_RC4RC4
SB_SYMMETRIC_ALGORITHM_DESDES
SB_SYMMETRIC_ALGORITHM_3DES3DES
SB_SYMMETRIC_ALGORITHM_RC2RC2
SB_SYMMETRIC_ALGORITHM_AES128AES128
SB_SYMMETRIC_ALGORITHM_AES192AES192
SB_SYMMETRIC_ALGORITHM_AES256AES256
SB_SYMMETRIC_ALGORITHM_AES128_GCMAES128-GCM
SB_SYMMETRIC_ALGORITHM_AES192_GCMAES192-GCM
SB_SYMMETRIC_ALGORITHM_AES256_GCMAES256-GCM

hashAlgorithm
String

Specifies the hash algorithm to be used.

SB_HASH_ALGORITHM_MD5MD5
SB_HASH_ALGORITHM_SHA1SHA1
SB_HASH_ALGORITHM_SHA256SHA256
SB_HASH_ALGORITHM_SHA384SHA384
SB_HASH_ALGORITHM_SHA512SHA512
SB_HASH_ALGORITHM_SHA3_256SHA3_256
SB_HASH_ALGORITHM_SHA3_384SHA3_384
SB_HASH_ALGORITHM_SHA3_512SHA3_512
SB_HASH_ALGORITHM_BLAKE2S_128BLAKE2S_128
SB_HASH_ALGORITHM_BLAKE2S_160BLAKE2S_160
SB_HASH_ALGORITHM_BLAKE2S_224BLAKE2S_224
SB_HASH_ALGORITHM_BLAKE2S_256BLAKE2S_256
SB_HASH_ALGORITHM_BLAKE2B_160BLAKE2B_160
SB_HASH_ALGORITHM_BLAKE2B_256BLAKE2B_256
SB_HASH_ALGORITHM_BLAKE2B_384BLAKE2B_384
SB_HASH_ALGORITHM_BLAKE2B_512BLAKE2B_512

sign
Bool

Whether to sign the message.

signatureFormat
MailSignatureFormats

Specifies the signature format to use for the signed message.

Available options:

msMultipartSigned0
msSignedData1

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 macOS Edition - Version 20.0 [Build 8165]