Loads the public key from a CER certificate file.
Namespace: LLCryptoLib.CryptoAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public static RSA LoadPublicKeyFromCer(
string cerFile
) |
Visual Basic |
---|
Public Shared Function LoadPublicKeyFromCer ( _
cerFile As String _
) As RSA |
Visual C++ |
---|
public:
static RSA^ LoadPublicKeyFromCer(
String^ cerFile
) |
Parameters
- cerFile
- Type: System..::..String
The CER certificate file.
Return Value
An RSA object containing the Public Key.
Exceptions
See Also