CertificateStore Constructor
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9083)
CertificateStore(String, CertificateStoreLocation, CertificateStoreOpenFlags)
Opens a certificate store of the specified name and the specified location.
Declaration
public CertificateStore(string storeName, CertificateStoreLocation location, CertificateStoreOpenFlags flags)
Parameters
Type | Name | Description |
---|---|---|
String | storeName | The store name. |
CertificateStoreLocation | location | Specifies the location of the certificate store. |
CertificateStoreOpenFlags | flags | Store open flags. |
Remarks
Some example system stores are:
"CA" - Certification authority certificates.
"My" - A certificate store that holds personal certificates with associated private keys.
"WebHosting" - Web hosting certificates with associated private keys.
"Root" - Root certificates.
"SPC" - Software publisher certificate.
"Trust"
"Disallowed"
CertificateStore(String, CertificateStoreLocation)
Opens a certificate store of the specified name and the specified location.
Declaration
public CertificateStore(string storeName, CertificateStoreLocation location)
Parameters
Type | Name | Description |
---|---|---|
String | storeName | The store name. |
CertificateStoreLocation | location | Specifies the location of the certificate store. |
Remarks
Some example system stores are:
"CA" - Certification authority certificates.
"My" - A certificate store that holds personal certificates with associated private keys.
"WebHosting" - Web hosting certificates with associated private keys.
"Root" - Root certificates.
"SPC" - Software publisher certificate.
"Trust"
"Disallowed"
CertificateStore(String, CertificateStoreOpenFlags)
Opens a certificate store of the specified name.
Declaration
public CertificateStore(string storeName, CertificateStoreOpenFlags flags)
Parameters
Type | Name | Description |
---|---|---|
String | storeName | The store name. |
CertificateStoreOpenFlags | flags | Store open flags. |
Remarks
Some example system stores are:
"CA" - Certification authority certificates.
"My" - A certificate store that holds personal certificates with associated private keys.
"WebHosting" - Web hosting certificates with associated private keys.
"Root" - Root certificates.
"SPC" - Software publisher certificate.
"Trust"
"Disallowed"
CertificateStore(String)
Opens a certificate store of the specified name.
Declaration
public CertificateStore(string storeName)
Parameters
Type | Name | Description |
---|---|---|
String | storeName | The store name. |
Remarks
Some example system stores are:
"CA" - Certification authority certificates.
"My" - A certificate store that holds personal certificates with associated private keys.
"WebHosting" - Web hosting certificates with associated private keys.
"Root" - Root certificates.
"SPC" - Software publisher certificate.
"Trust"
"Disallowed"
CertificateStore(CertificateStoreName, CertificateStoreLocation, CertificateStoreOpenFlags)
Opens a certificate store of the specified name and the specified location.
Declaration
public CertificateStore(CertificateStoreName storeName, CertificateStoreLocation location, CertificateStoreOpenFlags flags)
Parameters
Type | Name | Description |
---|---|---|
CertificateStoreName | storeName | The store name value. |
CertificateStoreLocation | location | Specifies the location of the certificate store. |
CertificateStoreOpenFlags | flags | Store open flags. |
CertificateStore(CertificateStoreName, CertificateStoreLocation)
Opens a system certificate store of the specified name and the specified location.
Declaration
public CertificateStore(CertificateStoreName storeName, CertificateStoreLocation location)
Parameters
Type | Name | Description |
---|---|---|
CertificateStoreName | storeName | The store name value. |
CertificateStoreLocation | location | Specifies the location of the certificate store. |
CertificateStore(CertificateStoreName, CertificateStoreOpenFlags)
Opens a system certificate store of the specified name.
Declaration
public CertificateStore(CertificateStoreName storeName, CertificateStoreOpenFlags flags)
Parameters
Type | Name | Description |
---|---|---|
CertificateStoreName | storeName | The store name value. |
CertificateStoreOpenFlags | flags | Store open flags. |
CertificateStore(CertificateStoreName)
Opens a system certificate store of the specified name.
Declaration
public CertificateStore(CertificateStoreName storeName)
Parameters
Type | Name | Description |
---|---|---|
CertificateStoreName | storeName | The store name value. |
CertificateStore(ICollection)
Creates a temporary memory-based certificate store and populates it with certificates from the specified collection.
Declaration
public CertificateStore(ICollection certificates)
Parameters
Type | Name | Description |
---|---|---|
ICollection | certificates | The certificate collection. |