CertInfo Class

 

This API supports the product infrastructure and is not intended to be used directly from your code.

The CertInfo object supports the AD FS infrastructure and is not intended to be used directly from your code. Used by the X509VerificationMethod to identify a particular certificate in the FederationCertificates certificate store of the TrustPolicy.

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

Inheritance Hierarchy

System.Object
  System.Web.Security.SingleSignOn.CertInfo

Syntax

[ComVisibleAttribute(true)]
public class CertInfo : IComparable
[ComVisibleAttribute(true)]
public ref class CertInfo : IComparable
[<ComVisibleAttribute(true)>]
type CertInfo = 
    class
        interface IComparable
    end
<ComVisibleAttribute(True)>
Public Class CertInfo
    Implements IComparable

Constructors

Name Description
System_CAPS_pubmethod CertInfo()

Initializes a new instance of the CertInfo class.

Properties

Name Description
System_CAPS_pubproperty X509Thumbprint

Gets or sets the X509 thumbprint, which has the hexadecimal string that contains the SHA-1 hash of the certificate.

Methods

Name Description
System_CAPS_pubmethod CompareTo(Object)

Compares the thumbprint of the current certificate to the thumbprint of the specified certificate.

System_CAPS_pubmethod Equals(Object)

Determines whether the specified CertInfo is equal to the current CertInfo.(Overrides Object.Equals(Object).)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

Gets the hash code for this instance.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Operators

Name Description
System_CAPS_puboperatorSystem_CAPS_static Equality(CertInfo, CertInfo)

Determines whether two specified CertInfo objects have the same value.

System_CAPS_puboperatorSystem_CAPS_static GreaterThan(CertInfo, CertInfo)

Returns a value that indicates whether one value is greater than the other.

System_CAPS_puboperatorSystem_CAPS_static Inequality(CertInfo, CertInfo)

Determines whether two specified CertInfo objects have different values.

System_CAPS_puboperatorSystem_CAPS_static LessThan(CertInfo, CertInfo)

Returns a value that indicates whether one value is less than the other.

Remarks

Note

Do not create CertInfo objects directly. Rather, use one of the AddNewTrustedCertificate methods from the X509VerificationMethod class.

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