The NHINDAgent type exposes the following members.

Constructors

  NameDescription
Public methodNHINDAgent(String)
Creates an NHINDAgent instance using local certificate stores and the standard trust and cryptography models.
Public methodNHINDAgent(String, ICertificateResolver, ICertificateResolver, ITrustAnchorResolver)
Creates an NHINDAgent instance, specifying private, external and trust anchor certificate stores, and and defaulting to the standard trust and cryptography models.
Public methodNHINDAgent(array<String>[]()[][], ICertificateResolver, ICertificateResolver, ITrustAnchorResolver)
Creates an NHINDAgent instance, specifying private, external and trust anchor certificate stores, and and defaulting to the standard trust and cryptography models.
Public methodNHINDAgent(String, ICertificateResolver, ICertificateResolver, ITrustAnchorResolver, TrustModel, SMIMECryptographer)
Creates an NHINDAgent instance, specifying private, external and trust anchor certificate stores, and trust and cryptography models.
Public methodNHINDAgent(array<String>[]()[][], ICertificateResolver, ICertificateResolver, ITrustAnchorResolver, TrustModel, SMIMECryptographer)
Creates an NHINDAgent instance, specifying private, external and trust anchor certificate stores, and trust and cryptography models.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessIncoming(String)
Decrypts and verifies trust in signed and encrypted RFC 5322 formatted message
Public methodProcessIncoming(IncomingMessage)
Decrypts and verifies trust in an IncomingMessage instance with signed and encrypted message content.
Public methodProcessIncoming(MessageEnvelope)
Decrypts and verifies trust in a MessageEnvelope instance with signed and encrypted message content.
Public methodProcessIncoming(String, NHINDAddressCollection, NHINDAddress)
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.
Public methodProcessOutgoing(String)
Encrypts, verifies recipient trust, and signs an RFC 5322 formatted message
Public methodProcessOutgoing(MessageEnvelope)
Encrypts, verifies recipient trust, and signs a MessageEnvelope containing a message to prepare for send.
Public methodProcessOutgoing(OutgoingMessage)
Encrypts, verifies recipient trust, and signs an OutgoingMessage containing a message to prepare for send.
Public methodProcessOutgoing(String, NHINDAddressCollection, NHINDAddress)
Encrypts, verifies recipient trust, and signs an RFC 5322 formatted message The provided sender and recipient addresses will be used instead of the header information in the messageText.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAllowNonWrappedIncoming
Should this agent allow incoming messages that are not wrapped message/822 MIME entities?
Public propertyCryptographer
Gets the cryptographic model used by this agent.
Public propertyDomains
The domainS this agent is managing.
Public propertyEncryptMessages
Gets or sets whether this agent uses message encryption.
Public propertyMinTrustRequirement
Messages must satisfy this minimum trust status
Public propertyPrivateCertResolver
Gets the private certificate resolver (set in the constructor).
Public propertyPublicCertResolver
Gets the public certificate resolver (set in the constructor).
Public propertyTrustAnchors
Getst the trust anchor resolver (set in the constructor).
Public propertyWrapMessages
Gets or sets whether this agent wraps the entire message or just the content package.

Events

  NameDescription
Public eventError
Subscribe to this event for notification when the Agent raises an exception.
Public eventErrorIncoming
Subscribe to this event for notification when IncomingMessage processing raises an exception.
Public eventErrorOutgoing
Subscribe to this event for notification when OutgoingMessage processing raises an exception.
Public eventPostProcessIncoming
Subscribe to this event for post-processing of the IncomingMessage, including adding or modifying headers. Throwing an exception post-process will abort message processing.
Public eventPostProcessOutgoing
Subscribe to this event for post-processing of the OutgoingMessage, including adding or modifying headers. Throwing an exception post-process will abort message processing.
Public eventPreProcessIncoming
Subscribe to this event for pre-processing of the IncomingMessage, including adding or modifying headers. Throwing an exception pre-process will abort message processing.
Public eventPreProcessOutgoing
Subscribe to this event for pre-processing of the OutgoingMessage, including adding or modifying headers. Throwing an exception pre-process will abort message processing.

See Also