C#


ROSLYN.SECURITY.CA5403 : Do not hard-code certificate (C#)

See Roslyn-Detected C# Warning Classes for more information.

Summary

Hard-coded certificates in source code are vulnerable to being exploited.

This check corresponds to Roslyn rule CA5403. For full rule details, see the Microsoft website: CA5403.

Properties

Class Name Do not hard-code certificate (C#)
Significance security
Mnemonic ROSLYN.SECURITY.CA5403
Categories None
Availability Available for C# only.
Enabling Checks for this warning class are disabled by default. To enable them, add the following WARNING_FILTER rule to the project configuration file.
WARNING_FILTER += allow class="Do not hard-code certificate (C#)"

Relevant Configuration File Parameters

The following configuration file parameters affect checks for this warning class.