Share via


X509VerificationMethod Class

 

Manages the list of certificates used by the Federation Server and is used by the TrustedRealm object. The RevocationFlags enumeration passed to the TrustedRealm object is used by the X509VerificationMethod Class. This is a helper object that is used in coding modifications to trust policies.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Inheritance Hierarchy

System.Object
  System.Web.Security.SingleSignOn.VerificationMethod
    System.Web.Security.SingleSignOn.X509VerificationMethod

Syntax

[ComVisibleAttribute(true)]
public sealed class X509VerificationMethod : VerificationMethod
[ComVisibleAttribute(true)]
public ref class X509VerificationMethod sealed : VerificationMethod
[<Sealed>]
[<ComVisibleAttribute(true)>]
type X509VerificationMethod = 
    class
        inherit VerificationMethod
    end
<ComVisibleAttribute(True)>
Public NotInheritable Class X509VerificationMethod
    Inherits VerificationMethod

Constructors

Name Description
System_CAPS_pubmethod X509VerificationMethod()

Initializes a new instance of the Initializes a new instance of the X509VerificationMethod class.

Properties

Name Description
System_CAPS_pubproperty RevocationCheckFlags

Gets or sets the revocation checking behavior on the token verification certificates.

System_CAPS_pubproperty TrustedCertificates

Gets the CertInfoCollection containing the list of certificates used for this X509VerificationMethod.

Methods

Name Description
System_CAPS_pubmethod AddNewTrustedCertificate(IntPtr)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a new trusted certificate, pointed to by pCertChainContext, to the list of trusted certificates for signature validation.

System_CAPS_pubmethod AddNewTrustedCertificate(String)

Adds a new trusted certificate, specified by filename, to the list of trusted certificates for signature validation.

System_CAPS_pubmethod AddNewTrustedCertificate(String, String)

Adds a new trusted certificate, specified by filename and thumbprint, to the list of trusted certificates for signature validation.

System_CAPS_pubmethod AddNewTrustedCertificateByThumbprint(String)

Adds a new trusted certificate, with the specified thumbprint, to the list of trusted certificates for signature validation.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod FindCertificate(String)

Finds a certificate by its thumbprint.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod ValidateSigningMethod(X509SigningMethod)

Verifies that the certificate uses the X509 signing method.

Remarks

The Trusted Realm will contain certificate thumbprints stored in the X509Thumbprint property that have certificates trusted for token signing for the specific trusted account partner. The thumbprint may also indicate the direct certification authority of the certificate used to sign the token. The association of the thumbprints with the trusted account partner is required in order to make sure a certificate for one partner may not be used to sign tokens that appear to be from another partner.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Security.SingleSignOn Namespace

Return to top