Discuss this help topic in SecureBlackbox Forum
Description
This class is designed for e-mail message signing using DKIM (DomainKeys Identified Mail).
To sign messages you should perform the following sequence of operations:
- Create an instance of SBDomainKeysSigner class.
- Set Canonicalization (obligatory) and HeaderFields
(optional) properties values.
- Call ProcessHeader method passing message header
as parameter. Perform the next step if it returns SB_DK_SIGNER_ERROR_SUCCESS and perform the last one otherwise.
- If the private key for domain specified in the Domain property is available perform the next step
or perform the last one otherwise.
- Call SetPrivateKey method to load the private key. Perform the next step if this method returns True or the last step otherwise.
- Call ProcessBodyLine method for each line of the message body.
- Call Sign method. Perform the next step if it returns SB_DK_SIGNER_ERROR_SUCCESS
or perform the last one otherwise.
- Insert strings received during the previous step before the message header.
- Call Reset and ClearPrivateKey methods
in order to prepare for next message signing.
Properties
Methods
Declared in
.NET:
- Namespace: SBDomainKeys
- Assembly: SecureBlackbox.MIME
VCL:Java:
- Package: SecureBlackbox.MIME.jar
C++:
Licensing
To use this class in the development and distribution of your software projects, you need to purchase one of the following licenses:
SecureBlackbox Professional, SecureBlackbox Standard
Discuss this help topic in SecureBlackbox Forum