Class CertificateStore
Inheritance
System.Object
CertificateStore
Implements
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: Catalyst.Core.Lib.Cryptography
Assembly: Catalyst.Core.Lib.dll
Syntax
public sealed class CertificateStore : ICertificateStore
Constructors
| Improve this Doc View SourceCertificateStore(IFileSystem, IPasswordManager)
Declaration
public CertificateStore(IFileSystem fileSystem, IPasswordManager passwordManager)
Parameters
Type | Name | Description |
---|---|---|
IFileSystem | fileSystem | |
IPasswordManager | passwordManager |
Methods
| Improve this Doc View SourceBuildSelfSignedServerCertificate(SecureString, String)
Declaration
public static X509Certificate2 BuildSelfSignedServerCertificate(SecureString password, string commonName = "localhost")
Parameters
Type | Name | Description |
---|---|---|
System.Security.SecureString | password | |
System.String | commonName |
Returns
Type | Description |
---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 |
ReadOrCreateCertificateFile(String)
Declaration
public X509Certificate2 ReadOrCreateCertificateFile(string pfxFilePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | pfxFilePath |
Returns
Type | Description |
---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 |