HU
hudeany/dkim
Java generation and validation of DKIM email signatures (DomainKeys Identified Mail)
DKIM signatures (JAVA)
Generation and validation of DKIM email signatures (DomainKeys Identified Mail) in JAVA
This example code needs following dependencies, which are not included in this repository:
- activation-1.1.jar
- javax.mail-1.6.2.jar
The main function for generation of DKIM signatures is in
- DkimSignedMessage
Use Transport.send(mimeMessage) for sending this message after adding all your message parts
The main function for validation of DKIM signatures is in
- DkimUtilities.checkDkimSignature(Message)
Maven2 repository
This library is also available via Maven2 repository
<repositories>
<repository>
<id>de.soderer</id>
<url>http://soderer.de/maven2</url>
</repository>
</repositories>
<dependency>
<groupId>de.soderer</groupId>
<artifactId>dkim</artifactId>
<version>RELEASE</version>
</dependency>
On this page
Languages
Java100.0%
Contributors
MIT License
Created November 2, 2021
Updated July 26, 2025