PemReaderGetPrivateKey Method (String) |
Reads private key from PEM file.
Namespace:
Aspose.Email.DKIM
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax public static RSACryptoServiceProvider GetPrivateKey(
string path
)
Public Shared Function GetPrivateKey (
path As String
) As RSACryptoServiceProvider
public:
static RSACryptoServiceProvider^ GetPrivateKey(
String^ path
)
static member GetPrivateKey :
path : string -> RSACryptoServiceProvider
Parameters
- path
- Type: SystemString
Path to file to read from.
Return Value
Type:
RSACryptoServiceProviderCertificate that was read.
See Also