CertificateChain.LoadP7b Method
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9119)
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.