CodeQL library for C#
codeql/csharp-all 3.0.2-dev (changelog, source)
Search

Module SymmetricAlgorithm

Provides classes for working with symmetric cryptography algorithms.

Import path

import semmle.code.csharp.frameworks.system.security.cryptography.SymmetricAlgorithm

Imports

csharp

The default C# QL library.

Predicates

isCreatingDES

Holds if the expression ‘e’ creates DES symmetric algorithm. Note: not all of the class names are supported on all platforms.

isCreatingRC2

Holds if the expression ‘e’ creates RC2 symmetric algorithm. Note: not all of the class names are supported on all platforms.

isCreatingRijndael

Holds if the expression ‘e’ creates Rijndael symmetric algorithm.

isCreatingTripleDES

Holds if the expression ‘e’ creates Triple DES symmetric algorithm. Note: not all of the class names are supported on all platforms.

Classes

SymmetricAlgorithm

The class System.Security.Cryptography.SymmetricAlgorithm or any sub class of this class.