 | SecurityExtensionsHasTrustedRootCert Method |
Returns true if the certificate is not trusted by the operating system but is trusted by an internal store
Namespace: SanteDB.Core.SecurityAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic static bool HasTrustedRootCert(
this X509Chain chain
)
<ExtensionAttribute>
Public Shared Function HasTrustedRootCert (
chain As X509Chain
) As Boolean
public:
[ExtensionAttribute]
static bool HasTrustedRootCert(
X509Chain^ chain
)
[<ExtensionAttribute>]
static member HasTrustedRootCert :
chain : X509Chain -> bool Parameters
- chain X509Chain
[Missing <param name="chain"/> documentation for "M:SanteDB.Core.Security.SecurityExtensions.HasTrustedRootCert(System.Security.Cryptography.X509Certificates.X509Chain)"]
Return Value
Boolean[Missing <returns> documentation for "M:SanteDB.Core.Security.SecurityExtensions.HasTrustedRootCert(System.Security.Cryptography.X509Certificates.X509Chain)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
X509Chain. 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