Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ DecryptKeyExchange()

override byte[] System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter.DecryptKeyExchange ( byte[] rgbData)
inline

Definition at line 34 of file RSAOAEPKeyExchangeDeformatter.cs.

35 {
36 if (_rsaKey == null)
37 {
38 throw new CryptographicUnexpectedOperationException(System.SR.Cryptography_MissingKey);
39 }
40 return _rsaKey.Decrypt(rgbData, RSAEncryptionPadding.OaepSHA1);
41 }
static string Cryptography_MissingKey
Definition SR.cs:114
Definition SR.cs:7
virtual byte[] Decrypt(byte[] data, RSAEncryptionPadding padding)
Definition RSA.cs:65

References System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter._rsaKey, System.SR.Cryptography_MissingKey, System.Security.Cryptography.RSA.Decrypt(), and System.Security.Cryptography.RSAEncryptionPadding.OaepSHA1.