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

Module EncryptionKeyDataFlowQuery

This module has classes and data flow configuration for working with symmetric encryption keys data flow.

Import path

import semmle.code.csharp.security.cryptography.EncryptionKeyDataFlowQuery

Imports

csharp

The default C# QL library.

Classes

ByteArray

Array of type Byte

KeySanitizer

A sanitizer for symmetric encryption key. If present, for example, key is properly constructed or retrieved from secret storage.

KeySource

Abstract class for all sources of keys

SymmetricEncryptionCreateDecryptorSink

Symmetric Algorithm, CreateDecryptor method, rgbKey parameter

SymmetricEncryptionCreateEncryptorSink

Symmetric Algorithm, CreateEncryptor method, rgbKey parameter

SymmetricEncryptionKeyPropertySink

Symmetric Algorithm, ‘Key’ property assigned a value

SymmetricEncryptionKeySink

A symmetric encryption sink is abstract base class for all ways to set a key for symmetric encryption.

SymmetricKeyTaintTrackingConfiguration

Symmetric Key Data Flow configuration.