Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Cryptography.​RSAPKCS1KeyExchangeDeformatter
Assembly: System.Security.Cryptography
Inheritance: object → AsymmetricKeyExchangeDeformatter → RSAPKCS1KeyExchangeDeformatter
Decrypts the PKCS #1 key exchange data.
Properties
public
string
Parameters
Gets the parameters for the PKCS #1 key exchange.
public
RandomNumberGenerator
RNG
Gets or sets the random number generator algorithm to use in the creation of the key exchange.
Methods
public
byte[]
DecryptKeyExchange​(byte[] rgbIn)
rgbIn
The key exchange data within which the secret information is hidden.
Returns The secret information derived from the key exchange data.
Extracts secret information from the encrypted key exchange data.
public
void
SetKey​(AsymmetricAlgorithm key)
key
The instance of the <see cref="T:System.Security.Cryptography.RSA" /> algorithm that holds the private key.
Sets the private key to use for decrypting the secret information.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object