RSA: ExportParameters

ExportParameters

Exports the RSA key in an RSAParameters object.



 Public Function ExportParameters(
	  ByVal IncludePrivateParameters As Boolean ) As RSAParameters

Parameters

IncludePrivateParameters
[ByVal] Boolean. A flag indicating if the private portion of the key should be exported.

Return Values

RSAParameters -  An RSAParameters object containing the RSA key.

Remarks

If the private portion is included, then another instance of an RSA implementation can use the key to encrypt values, otherwise, only enough information to decrypt is provided.

See Also

Project VBCorLib Overview Class RSA Overview RSA Properties RSA Methods Equals FromXmlString