Click or drag to resize

SecurityExtensionsIsTrustedIntern Method

Returns true if the certificate me is trusted by a SanteSuite certificate

Namespace:  SanteDB.Core.Security
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
public static bool IsTrustedIntern(
	this X509Certificate2 me,
	X509Certificate2Collection extraCerts,
	out IEnumerable<X509ChainStatus> chainStatus
)

Parameters

me
Type: System.Security.Cryptography.X509CertificatesX509Certificate2

[Missing <param name="me"/> documentation for "M:SanteDB.Core.Security.SecurityExtensions.IsTrustedIntern(System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.X509Certificates.X509Certificate2Collection,System.Collections.Generic.IEnumerable{System.Security.Cryptography.X509Certificates.X509ChainStatus}@)"]

extraCerts
Type: System.Security.Cryptography.X509CertificatesX509Certificate2Collection

[Missing <param name="extraCerts"/> documentation for "M:SanteDB.Core.Security.SecurityExtensions.IsTrustedIntern(System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.X509Certificates.X509Certificate2Collection,System.Collections.Generic.IEnumerable{System.Security.Cryptography.X509Certificates.X509ChainStatus}@)"]

chainStatus
Type: System.Collections.GenericIEnumerableX509ChainStatus

[Missing <param name="chainStatus"/> documentation for "M:SanteDB.Core.Security.SecurityExtensions.IsTrustedIntern(System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.X509Certificates.X509Certificate2Collection,System.Collections.Generic.IEnumerable{System.Security.Cryptography.X509Certificates.X509ChainStatus}@)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:SanteDB.Core.Security.SecurityExtensions.IsTrustedIntern(System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.X509Certificates.X509Certificate2Collection,System.Collections.Generic.IEnumerable{System.Security.Cryptography.X509Certificates.X509ChainStatus}@)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type X509Certificate2. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also