WindowsCertificateStore
Namespace: Lacuna.Pki.Stores
Assembly: Lacuna.Pki
Class
public class WindowsCertificateStore : ICertificateStore
Hierarquia: object → WindowsCertificateStore
Métodos
GetCertificate(byte[])
Find a certificate by its Key Identifier
public PKCertificate GetCertificate(byte[] keyIdentifier)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
keyIdentifier | byte[] |
Retorno
GetCertificate(Name, BigInteger)
Find a certificate by its Issuer Name and Serial Number
public PKCertificate GetCertificate(Name issuerName, BigInteger serialNumber)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
issuerName | Name | Certificate's issuer name |
serialNumber | BigInteger | Certificate's serial number |
Retorno
GetCertificates(Name)
Find one or more certificates by its Subject Name
public List<PKCertificate> GetCertificates(Name subjectName)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
subjectName | Name |
Retorno
GetCertificatesWithKey()
public List<PKCertificateWithKey> GetCertificatesWithKey()
Retorno
Load(StoreName, StoreLocation)
public static WindowsCertificateStore Load(StoreName storeName, StoreLocation storeLocation)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
storeName | StoreName | |
storeLocation | StoreLocation |
Retorno
LoadPersonalCurrentUser()
public static WindowsCertificateStore LoadPersonalCurrentUser()
Retorno
LoadPersonalLocalMachine()
public static WindowsCertificateStore LoadPersonalLocalMachine()
Retorno
Membros herdados
ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()