Creates an NHINDAgent instance, specifying private, external and trust anchor certificate stores, and trust and cryptography models.

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

Syntax

C#
public NHINDAgent(
	string domain,
	ICertificateResolver privateCerts,
	ICertificateResolver publicCerts,
	ITrustAnchorResolver anchors,
	TrustModel trustModel,
	SMIMECryptographer cryptographer
)
Visual Basic
Public Sub New ( _
	domain As String, _
	privateCerts As ICertificateResolver, _
	publicCerts As ICertificateResolver, _
	anchors As ITrustAnchorResolver, _
	trustModel As TrustModel, _
	cryptographer As SMIMECryptographer _
)
Visual C++
public:
NHINDAgent(
	String^ domain, 
	ICertificateResolver^ privateCerts, 
	ICertificateResolver^ publicCerts, 
	ITrustAnchorResolver^ anchors, 
	TrustModel^ trustModel, 
	SMIMECryptographer^ cryptographer
)

Parameters

domain
Type: System..::..String
The local domain name managed by this agent.
privateCerts
Type: NHINDirect.Certificates..::..ICertificateResolver
An ICertificateResolver instance providing private certificates for senders of outgoing messages and receivers of incoming messages.
publicCerts
Type: NHINDirect.Certificates..::..ICertificateResolver
An ICertificateResolver instance providing public certificates for receivers of outgoing messages and senders of incoming messages.
anchors
Type: NHINDirect.Certificates..::..ITrustAnchorResolver
An ITrustAnchorResolver instance providing trust anchors.
trustModel
Type: NHINDirect.Agent..::..TrustModel
An instance or subclass of TrustModel providing a custom trust model.
cryptographer
Type: NHINDirect.Cryptography..::..SMIMECryptographer
An instance or subclass of SMIMECryptographer providing a custom cryptography model.

See Also