Bouncy Castle Secure Mime ContextGet Trusted Anchors Method
Get the trusted anchors.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
The trusted anchors.
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
protected abstract ISet<TrustAnchor> GetTrustedAnchors()Return Value
ISetTrustAnchorThe trusted anchors.
Remarks
A trusted anchor is a trusted root-level X.509 certificate, generally issued by a certificate authority (CA).
This method is used to build a certificate chain while verifying signed content.
It is critical to always load the designated trust anchors, and not the anchor in the end certificate, when building a certificate chain when validating trust.