Class Pkcs7CertificateStore
Inheritance
Pkcs7CertificateStore
Assembly: Lacuna.Pki.dll
Syntax
public class Pkcs7CertificateStore : ICertificateStore
Properties
Certificates
Declaration
public List<PKCertificate> Certificates { get; }
Property Value
Methods
Decode(Byte[])
Decodes a PKCS#7 certificate store
Declaration
public static Pkcs7CertificateStore Decode(byte[] content)
Parameters
Type |
Name |
Description |
Byte[] |
content |
The BER/DER or PEM encoded PKCS#7 content
|
Returns
Decode(String)
Decodes a PKCS#7 certificate store
Declaration
public static Pkcs7CertificateStore Decode(string content)
Parameters
Type |
Name |
Description |
String |
content |
The PEM encoded or Base64 encoded PKCS#7 string
|
Returns
Encode(IEnumerable<PKCertificate>)
Encodes a certificate list as DER PKCS#7 certificate store
Declaration
public static byte[] Encode(IEnumerable<PKCertificate> certificates)
Parameters
Returns
Type |
Description |
Byte[] |
PKC#7 certificate store DER encoded bytes
|
GetCertificate(Name, BigInteger)
Declaration
public PKCertificate GetCertificate(Name issuerName, BigInteger serialNumber)
Parameters
Returns
Implements
GetCertificate(Byte[])
Declaration
public PKCertificate GetCertificate(byte[] keyIdentifier)
Parameters
Type |
Name |
Description |
Byte[] |
keyIdentifier |
|
Returns
Implements
GetCertificates(Name)
Declaration
public List<PKCertificate> GetCertificates(Name subjectName)
Parameters
Type |
Name |
Description |
Name |
subjectName |
|
Returns
Implements