Creates a new instance of the
Certificate class by reading a certificate from a PEM encoded file.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public static Certificate CreateFromPemFile(
byte[] file
) |
Visual Basic |
---|
Public Shared Function CreateFromPemFile ( _
file As Byte() _
) As Certificate |
Visual C++ |
---|
public:
static Certificate^ CreateFromPemFile(
array<unsigned char>^ file
) |
Parameters
- file
- Type: array<System..::..Byte>[]()[][]
The contents of the PEM file.
Return Value
A Certificate instance.
Remarks
Exceptions
See Also