hudeany / dkim

Java generation and validation of DKIM email signatures (DomainKeys Identified Mail)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

Java generation and validation of DKIM email signatures (DomainKeys Identified Mail)

License:MIT License


Languages

Language:Java 100.0%