PemReader.GetPrivateKey
GetPrivateKey(Stream)
Reads private key from stream.
public static RSACryptoServiceProvider GetPrivateKey(Stream pem)
Parameter | Type | Description |
---|---|---|
pem | Stream | Stream to read from. |
Return Value
Certificate that was read.
See Also
- class PemReader
- namespace Aspose.Email.DKIM
- assembly Aspose.Email
GetPrivateKey(string)
Reads private key from PEM file.
public static RSACryptoServiceProvider GetPrivateKey(string path)
Parameter | Type | Description |
---|---|---|
path | String | Path to file to read from. |
Return Value
Certificate that was read.
See Also
- class PemReader
- namespace Aspose.Email.DKIM
- assembly Aspose.Email