Skip to main content
ChainBuildingParameters.ExclusiveTrustRoots | exclusiveTrustRoots property

Applies to Windows and Windows Phone

Gets the list of root certificates that will be trusted.

Syntax


var exclusiveTrustRoots = chainBuildingParameters.exclusiveTrustRoots;

public IList<Certificate> ExclusiveTrustRoots { get; }

Public ReadOnly Property ExclusiveTrustRoots As IList(Of Certificate)

public:
property IVector<Certificate>^ ExclusiveTrustRoots { 
   IVector<Certificate>^ get();
}

Property value

Type: IVector<Certificate> [JavaScript/C++] | System.Collections.Generic.IList<Certificate> [.NET]

The list of root certificates that will be trusted.

Remarks

The ExclusiveTrustRoots property is read-only. However, the list of root certificates that is returned is writable and you can add certificates to it that will be used for exclusive trust.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.winmd

See also

ChainBuildingParameters