PublicKeyInfo.Load Method
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9083)
Load(Stream)
Loads a PKCS #8 public key from a stream. Upon successful decoding, information can be retrieved using PublicKeyInfo methods and properties.
Declaration
public void Load(Stream input)
Parameters
Type | Name | Description |
---|---|---|
Stream | input | A stream from which to load the public key. |
Load(String)
Loads a PKCS #8 public key from a file. Upon successful decoding, information can be retrieved using PublicKeyInfo methods and properties.
Declaration
public void Load(string fileName)
Parameters
Type | Name | Description |
---|---|---|
String | fileName | A file from which to load the public key. |