terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Save()

void Mono.Security.Cryptography.KeyPairPersistence.Save ( )
inline

Definition at line 102 of file KeyPairPersistence.cs.

103 {
104 string filename = this.Filename;
106 string text = this.ToXml();
107 long num = 0L;
109 if (fileStream != null)
110 {
111 return;
112 }
113 if (num == 0L)
114 {
115 int flags = this._params.m_flags;
116 string filename2 = this.Filename;
117 bool flag = KeyPairPersistence.ProtectUser(filename2);
118 return;
119 }
120 throw new OutOfMemoryException();
121 }
class f__AnonymousType0<< Count > j__TPar
static Encoding UTF8
Definition Encoding.cs:828

References Mono.Security.Cryptography.KeyPairPersistence._params, Mono.Security.Cryptography.KeyPairPersistence.Filename, j__TPar, System.L, System.Security.Cryptography.CspParameters.m_flags, Mono.Security.Cryptography.KeyPairPersistence.ProtectUser(), System.text, Mono.Security.Cryptography.KeyPairPersistence.ToXml(), and System.Text.Encoding.UTF8.

Referenced by System.Security.Cryptography.DSACryptoServiceProvider.OnKeyGenerated(), and System.Security.Cryptography.RSACryptoServiceProvider.OnKeyGenerated().