Show / Hide Table of Contents

Class CertificateValidators

Delegates X.509 certificates validation to a collection of certificate validators.

Inheritance
System.Object
CertificateValidators
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ComponentSpace.Saml2.Certificates
Assembly: ComponentSpace.Saml2.dll
Syntax
public class CertificateValidators

Constructors

CertificateValidators(IEnumerable<ICertificateValidator>)

Initializes a new instance of the AbstractCertificateLoader class.

Declaration
public CertificateValidators(IEnumerable<ICertificateValidator> certificateValidators)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ICertificateValidator> certificateValidators

The certificate validators.

Methods

Validate(X509Certificate2)

Validates the X.509 certificate.

Declaration
public virtual bool Validate(X509Certificate2 x509Certificate)
Parameters
Type Name Description
System.Security.Cryptography.X509Certificates.X509Certificate2 x509Certificate

The X.509 certificate.

Returns
Type Description
System.Boolean

true if the certificate is valid; otherwise false.

In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2017-2022. All rights reserved.