PemReaderGetPrivateKey Method (Stream)

Reads private key from stream.

Namespace:  Aspose.Email.DKIM
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public static RSACryptoServiceProvider GetPrivateKey(
	Stream pem
)

Parameters

pem
Type: System.IOStream
Stream to read from.

Return Value

Type: RSACryptoServiceProvider
Certificate that was read.
See Also