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.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public static bool IsTrustedIntern(
	this X509Certificate2 me,
	X509Certificate2Collection extraCerts,
	DateTime? asOfDate,
	out IEnumerable<X509ChainStatus> chainStatus
)

Parameters

me  X509Certificate2

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

extraCerts  X509Certificate2Collection

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

asOfDate  NullableDateTime

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

chainStatus  IEnumerableX509ChainStatus

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

Return Value

Boolean

[Missing <returns> documentation for "M:SanteDB.Core.Security.SecurityExtensions.IsTrustedIntern(System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.X509Certificates.X509Certificate2Collection,System.Nullable{System.DateTime},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