Mail Library
The agent module contains various utility mail classes to facilitate implementing the security and trust implementation.
MimeEntity
The MimeEnity class is an extension of the Java Mail MimeBodyPart with utility functions to determine if the entity consists of a multiple part and serialization to a byte array.
NHINDAddress
The NHINDAddress class is an extension of the JavaMail InternetAddress with utility methods and attributes to bind certificates, store trust anchors, and set the trust status. It also include simple parsing parsing.
WrappedMessage
The WrappedMessage class is a utility class for wrapping messaging in an RFC822 container and copying headers from the original message to the container. It also provides unwrapping methods.
Message
The Message class is an extension of the Java Mail MimeMessage with utility methods to get specific header information in raw format and serialization to a byte array.
MessageEnvelope
The MessageEnvelope interface is a message wrapper that holds the original message and additional attributes to categorize routing information such as reject recipients and domain recipients.
DefaultMessageEnvelope
The DefaultMessageEnvelope class is the default implementation of the MessageEnvelope interface.
IncomingMessage
The IncomingMessage class is an extension of the DefaultMessageEnvelope that exposes message signatures and CMS data.
OutgoingMessage
The OutgoingMessage class is an extension of the DefaultMessageEnvelope. At this time is does provide any other functionality above and beyond DefaultMessageEnvelope other than strong typing.
EntitySerializer
The EntitySerializer class is a utility class for serializing and deserializing message to and from different message structures and raw representations.