Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

CertificateChain.LoadP7b Method

Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9147)

LoadP7b(String)

Loads CertificateChain from the specified PKCS #7 (.p7b) file.

Declaration
public static CertificateChain LoadP7b(string path)
Parameters
Type Name Description
String path

Path to the file.

Returns
Type Description
CertificateChain

Instance of CertificateChain, never null.

Remarks

The PKCS #7 file can be saved using Save(String) method.

LoadP7b(Stream)

Loads a PKCS #7 (.p7b) encoded CertificateChain from the specified file.

Declaration
public static CertificateChain LoadP7b(Stream stream)
Parameters
Type Name Description
Stream stream

Stream to load a CertificateChain from.

Returns
Type Description
CertificateChain

Instance of CertificateChain, never null.

Remarks

The PKCS #7 stream can be saved using Save(Stream) method.

In This Article
  • LoadP7b(String)
  • LoadP7b(Stream)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies