Class CertificateObject
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: Microsoft.CST.AttackSurfaceAnalyzer.Objects
Assembly: AsaLib.dll
Syntax
public class CertificateObject : CollectObject
Constructors
| Improve this Doc View SourceCertificateObject(String, String, SerializableCertificate)
Declaration
public CertificateObject(string StoreLocation, string StoreName, SerializableCertificate Certificate)
Parameters
Type | Name | Description |
---|---|---|
System.String | StoreLocation | |
System.String | StoreName | |
SerializableCertificate | Certificate |
Properties
| Improve this Doc View SourceCertificate
A serializable representation of the Certificate.
Declaration
public SerializableCertificate Certificate { get; set; }
Property Value
Type | Description |
---|---|
SerializableCertificate |
CertificateHashString
See Certificate.CertHashString
Declaration
public string CertificateHashString { get; }
Property Value
Type | Description |
---|---|
System.String |
Identity
The identity of a CertificateObject is based on the StoreLocation, StoreName and CertificateHashString of the CertificateObject
Declaration
public override string Identity { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourcePkcs7
The exported Pkcs7 of the certificate. Not guaranteed to be non-null.
Declaration
public string Pkcs7 { get; }
Property Value
Type | Description |
---|---|
System.String |
StoreLocation
The Store Location or Location on Disk where the Certificate was found
Declaration
public string StoreLocation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StoreName
The Name of an X509 Store or another source (like the filesystem)
Declaration
public string StoreName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Subject
See Certificate.Subject
Declaration
public string Subject { get; }
Property Value
Type | Description |
---|---|
System.String |