Certificate.LoadDer Method
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9083)
LoadDer(String)
Loads a DER encoded certificate from the specified file.
Declaration
public static Certificate LoadDer(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | Path to a file. |
Returns
Type | Description |
---|---|
Certificate | A certificate. |
LoadDer(Stream)
Loads a DER encoded certificate from the specified stream.
Declaration
public static Certificate LoadDer(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | Stream to load a certificate from. |
Returns
Type | Description |
---|---|
Certificate | A certificate. |