Decrypts and verifies trust in a signed and encrypted RFC 5322 formatted message, providing a sender and recipient addresses. The provided sender and recipient addresses will be used instead of the header information in the messageText.

Namespace: NHINDirect.Agent
Assembly: nhinAgent (in nhinAgent.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public IncomingMessage ProcessIncoming(
	string messageText,
	NHINDAddressCollection recipients,
	NHINDAddress sender
)
Visual Basic
Public Function ProcessIncoming ( _
	messageText As String, _
	recipients As NHINDAddressCollection, _
	sender As NHINDAddress _
) As IncomingMessage
Visual C++
public:
IncomingMessage^ ProcessIncoming(
	String^ messageText, 
	NHINDAddressCollection^ recipients, 
	NHINDAddress^ sender
)

Parameters

messageText
Type: System..::..String
An RFC 5322 formatted message string.
recipients
Type: NHINDirect.Agent..::..NHINDAddressCollection
A NHINDAddressCollection instance representing recipient addresses.
sender
Type: NHINDirect.Agent..::..NHINDAddress
An NHINDAddress instance representing the sender address

Return Value

An IncomingMessage instance with the trust verified decrypted and verified message.

See Also