com.lacinato.tools.examples
Class BdkimUsageExample

java.lang.Object
  extended by com.lacinato.tools.examples.BdkimUsageExample

public class BdkimUsageExample
extends java.lang.Object

http://lacinato.com/cm/software/emailrelated/bdkim

This is a simple example of how to use the BdkimAnalyzer (and perhaps also useful for testing.) See the sourc code for the details.

The main() method takes three command-line arguments:
- the path to a raw email message file (containing all raw headers and message content, etc)
- the hostname or IP address of the BDKIM perl server (e.g. "localhost")
- the port that the BDKIM perl server is using (e.g. 12300)

It sends the message over to the BDKIM perl server (which must be configured and running) and prints the results returned from the server to stdout.

For information on the BdkimAnalyzer.SignatureResults object, which contains the results in a structured form, see documentation for that class.

Version:
1.0
Author:
Casey Connor -- lacinato.com

Constructor Summary
BdkimUsageExample()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BdkimUsageExample

public BdkimUsageExample()
Method Detail

main

public static void main(java.lang.String[] args)