Loads a PKCS #8 public key from a file.
Upon successful decoding, information can be retrieved using PublicKeyInfo
methods and properties.
Namespace:
Rebex.Security.Cryptography.Pkcs
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
| Visual Basic |
|---|
Public Sub Load ( _ fileName As String _ ) |
| C# |
|---|
public void Load( string fileName ) |
Parameters
- fileName
- Type: System..::..String
A file from which to load the public key.