Loads a PKCS #7 (.p7b) encoded CertificateChain from the specified file.
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Shared Function LoadP7b ( _ stream As Stream _ ) As CertificateChain |
C# |
---|
public static CertificateChain LoadP7b( Stream stream ) |
Parameters
- stream
- Type: System.IO..::..Stream
Stream to load a CertificateChain from.
Return Value
Instance of CertificateChain, never null.Remarks
The PKCS #7 stream can be saved using Save(Stream) method.