Appearance
Mail Library
The agent module contains various utility mail classes to facilitate implementing the security and trust implementation.
MimeEntity
The MimeEntity class is an extension of the Java Mail MimeBodyPart with utility functions to determine whether the entity consists of multiple parts, and to serialize it 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 includes simple parsing.
WrappedMessage
The WrappedMessage class is a utility class for wrapping a message 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 it does not provide any functionality beyond DefaultMessageEnvelope other than strong typing.
EntitySerializer
The EntitySerializer class is a utility class for serializing and deserializing messages to and from different message structures and raw representations.
