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 | |
---|---|---|
CertInfo() | Initializes a new instance of the CertInfo class. |
Properties
Name | Description | |
---|---|---|
X509Thumbprint | Gets or sets the X509 thumbprint, which has the hexadecimal string that contains the SHA-1 hash of the certificate. |
Methods
Name | Description | |
---|---|---|
CompareTo(Object) | Compares the thumbprint of the current certificate to the thumbprint of the specified certificate. |
|
Equals(Object) | Determines whether the specified CertInfo is equal to the current CertInfo.(Overrides Object.Equals(Object).) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | Gets the hash code for this instance.(Overrides Object.GetHashCode().) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Operators
Name | Description | |
---|---|---|
Equality(CertInfo, CertInfo) | Determines whether two specified CertInfo objects have the same value. |
|
GreaterThan(CertInfo, CertInfo) | Returns a value that indicates whether one value is greater than the other. |
|
Inequality(CertInfo, CertInfo) | Determines whether two specified CertInfo objects have different values. |
|
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