Features | Detailed Description
Available in VCL edition.
The DKIM component allows you to sign / verify email messages with RSA+SHA256 security algorithm, canonicalize both the message body and headers, define the message headers to be signed according to RFC 6376
This component is used to detect email spoofing by providing a mechanism to allow receiving mail exchangers to check that incoming mail from a domain is authorized by that domain's administrators.
Please see the Demos code (DkimSign, DkimVerify) and also the indexed Help documentation provided with the Clever Internet Suite installation for more details about using this component.
Name |
Description |
BodyLength |
Specifies the length of the body part to be signed. Optional. |
Canonicalization |
Gets or sets the body and header canonicalization method. |
CopiedHeaderFields |
Specifies the copied header fields to be included to the DKIM signature. |
DnsSettings |
Represents the DNS settings that are used for generating the DNS txt information: acceptable hash algorithms, service type, notes and optional flags. |
Domain |
Specifies the domain information for the DKIM signature. |
PublicKeyLocation |
Defines the public key location. Currently, the only one possible value is defined by the standard: dns/txt. |
SignatureAlgorithm |
Specifies the signature algorithm. The default value is rsa-sha256. |
SignatureExpiration, SignatureTimestamp |
Defines the lifetime period for the signature. Optional. |
SignedHeaderFields |
Specifies a list of email headers to be signed. |
Selector |
Specifies the DKIM Selector parameter. See the RFC 6376 standard. |
VerifyMode |
Defines the signature validation mode. You can verify all signatures within the message, verify until success and until verification failed. |
Name |
Description |
ExportPrivateKey |
Exports the generated private key part of the public/private key pair in the "pem" format. |
ExportPublicKey |
Exports the generated public key part of the public/private key pair in the "pem" format. |
GenerateDnsRecord |
Generates a DNS txt representation of the public key information for the specified domain. |
GenerateSigningKey |
Generates new public/private key pair with the specified parameters. |
ImportPrivateKey |
Imports a private key information from string, array of bytes or file in the "pem" format. |
Close |
Deletes the key information and initializes the component. |
Sign |
Makes the DKIM signature for the specified message and stores it within the message header. |
Verify |
Verifies the DKIM signatures of the specified message and raises an exception if the message signature is invalid. |
|