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

◆ DecryptKeyExchange()

override byte[] System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter.DecryptKeyExchange ( byte[] rgbIn)
inline

Definition at line 48 of file RSAPKCS1KeyExchangeDeformatter.cs.

49 {
50 if (_rsaKey == null)
51 {
52 throw new CryptographicUnexpectedOperationException(System.SR.Cryptography_MissingKey);
53 }
54 return _rsaKey.Decrypt(rgbIn, RSAEncryptionPadding.Pkcs1);
55 }
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.RSAPKCS1KeyExchangeDeformatter._rsaKey, System.SR.Cryptography_MissingKey, System.Security.Cryptography.RSA.Decrypt(), and System.Security.Cryptography.RSAEncryptionPadding.Pkcs1.