RSACryptoServiceProvider: PublicOnly (get)

PublicOnly

Returns if the key for this RSA instance is only the public half of the key pair.



 Public Property Get PublicOnly ( ) As Boolean

Return Values

Boolean -  Returns True if only the public half of the key is present, False otherwise.

Remarks

RSA uses a private/public key pair to encrypt and decrypt. Only the public part is required to encrypt data. The private key is used to decrypt data.

Read Only.

See Also

Project CorLib Overview

Class RSACryptoServiceProvider Overview