Show / Hide Table of Contents

Class Pkcs7CertificateStore

Inheritance
Object
Pkcs7CertificateStore
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.Pki.Stores
Assembly: Lacuna.Pki.dll
Syntax
public class Pkcs7CertificateStore : ICertificateStore

Properties

Certificates

Declaration
public List<PKCertificate> Certificates { get; }
Property Value
Type Description
List<PKCertificate>

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
Type Description
Pkcs7CertificateStore

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
Type Description
Pkcs7CertificateStore

Encode(IEnumerable<PKCertificate>)

Encodes a certificate list as DER PKCS#7 certificate store

Declaration
public static byte[] Encode(IEnumerable<PKCertificate> certificates)
Parameters
Type Name Description
IEnumerable<PKCertificate> certificates
Returns
Type Description
Byte[]

PKC#7 certificate store DER encoded bytes

GetCertificate(Name, BigInteger)

Declaration
public PKCertificate GetCertificate(Name issuerName, BigInteger serialNumber)
Parameters
Type Name Description
Name issuerName
BigInteger serialNumber
Returns
Type Description
PKCertificate
Implements
ICertificateStore.GetCertificate(Name, BigInteger)

GetCertificate(Byte[])

Declaration
public PKCertificate GetCertificate(byte[] keyIdentifier)
Parameters
Type Name Description
Byte[] keyIdentifier
Returns
Type Description
PKCertificate
Implements
ICertificateStore.GetCertificate(Byte[])

GetCertificates(Name)

Declaration
public List<PKCertificate> GetCertificates(Name subjectName)
Parameters
Type Name Description
Name subjectName
Returns
Type Description
List<PKCertificate>
Implements
ICertificateStore.GetCertificates(Name)
Back to top Copyright © 2015-2020 Lacuna Software