|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NHINDAgent
The NHINDAgent is the primary entity for applying cryptography and trust logic on incoming and outgoing messages. The main messaging system (such as an SMTP server, email client, or other message handling agent) instantiates an instance of the agent with configurable certificates storage implementations and trust anchor stores. The agent then applies S/MIME logic to the messages and asserts that the messages are being routed to and from trusted addresses.
The agent can support multiple local domains within one instance.
| Method Summary | |
|---|---|
Collection<String> |
getDomains()
Gets the list of domains that the agent is serving. |
IncomingMessage |
processIncoming(IncomingMessage message)
Processes a pre-enveloped message. |
IncomingMessage |
processIncoming(MessageEnvelope envelope)
Processes a pre-enveloped message. |
IncomingMessage |
processIncoming(javax.mail.internet.MimeMessage msg)
Processes an incoming mime message. |
IncomingMessage |
processIncoming(String messageText)
Processes an incoming message represented by a raw string. |
IncomingMessage |
processIncoming(String messageText,
NHINDAddressCollection recipients,
NHINDAddress sender)
Processes an incoming message represented by a raw string. |
OutgoingMessage |
processOutgoing(MessageEnvelope envelope)
Processes an outgoing pre-enveloped message. |
OutgoingMessage |
processOutgoing(OutgoingMessage message)
Processes an outgoing pre-enveloped message. |
OutgoingMessage |
processOutgoing(String messageText)
Processes an outgoing message represented by a raw string. |
OutgoingMessage |
processOutgoing(String messageText,
NHINDAddressCollection recipients,
NHINDAddress sender)
Processes an outgoing message represented by a raw string. |
| Method Detail |
|---|
Collection<String> getDomains()
IncomingMessage processIncoming(String messageText)
messageText - The raw contents of the incoming message that will be processed.
IncomingMessage processIncoming(String messageText,
NHINDAddressCollection recipients,
NHINDAddress sender)
messageText - The raw contents of the incoming message that will be processed.recipients - The recipients of the message. This overrides the routing headers in the message.sender - The sender of the message. This overrides the to FROM routing header in the message.
IncomingMessage processIncoming(MessageEnvelope envelope)
envelope - A message envelope containing the incoming message.
IncomingMessage processIncoming(javax.mail.internet.MimeMessage msg)
msg - The incoming mime message.
IncomingMessage processIncoming(IncomingMessage message)
envelope - A message envelope containing the incoming message.
OutgoingMessage processOutgoing(String messageText)
messageText - The raw contents of the incoming message that will be processed.
OutgoingMessage processOutgoing(String messageText,
NHINDAddressCollection recipients,
NHINDAddress sender)
messageText - The raw contents of the incoming message that will be processed.recipients - The recipients of the message. This overrides the routing headers in the message.sender - The sender of the message. This overrides the to FROM routing header in the message.
OutgoingMessage processOutgoing(MessageEnvelope envelope)
envelope - A message envelope containing the outgoing message.
OutgoingMessage processOutgoing(OutgoingMessage message)
message - A message envelope containing the incoming message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||