Creates an NHINDAgent instance, specifying private, external and trust anchor certificate stores, and and defaulting to the standard 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[] domains,
	ICertificateResolver privateCerts,
	ICertificateResolver publicCerts,
	ITrustAnchorResolver anchors
)
Visual Basic
Public Sub New ( _
	domains As String(), _
	privateCerts As ICertificateResolver, _
	publicCerts As ICertificateResolver, _
	anchors As ITrustAnchorResolver _
)
Visual C++
public:
NHINDAgent(
	array<String^>^ domains, 
	ICertificateResolver^ privateCerts, 
	ICertificateResolver^ publicCerts, 
	ITrustAnchorResolver^ anchors
)

Parameters

domains
Type: array<System..::..String>[]()[][]
The local domain names 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.

See Also