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

◆ ThrowIfNotSupported()

static void System.Security.Cryptography.ChaCha20Poly1305.ThrowIfNotSupported ( )
inlinestaticprivate

Definition at line 83 of file ChaCha20Poly1305.cs.

84 {
85 if (!IsSupported)
86 {
87 throw new PlatformNotSupportedException(System.SR.Format(System.SR.Cryptography_AlgorithmNotSupported, "ChaCha20Poly1305"));
88 }
89 }
static string Cryptography_AlgorithmNotSupported
Definition SR.cs:38
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7

References System.SR.Cryptography_AlgorithmNotSupported, System.SR.Format(), and System.Security.Cryptography.ChaCha20Poly1305.IsSupported.

Referenced by System.Security.Cryptography.ChaCha20Poly1305.ChaCha20Poly1305(), and System.Security.Cryptography.ChaCha20Poly1305.ChaCha20Poly1305().