SecurityAliases Class

Summary

Contains security related functionality, such as calculating file hashes.
Namespace
Cake.Common.Security
Base Types
  • object
graph BT Type-->Base0["object"] Type["SecurityAliases"] class Type type-node

Syntax

[CakeAliasCategory("Security")]
public static class SecurityAliases

Attributes

Type Description
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Methods

Name Value Summary
CalculateDirectoryHash(ICakeContext, DirectoryPath, IEnumerable<GlobPattern>, HashAlgorithm) DirectoryHash
Calculates the hash for a given directory.
static
CalculateDirectoryHash(ICakeContext, DirectoryPath, IEnumerable<string>, HashAlgorithm) DirectoryHash
Calculates the hash for a given directory.
static
CalculateDirectoryHash(ICakeContext, IEnumerable<GlobPattern>, DirectoryPath) DirectoryHash
Calculates the hash for a given directory using the default (SHA256) algorithm.
static
CalculateDirectoryHash(ICakeContext, IEnumerable<string>, DirectoryPath) DirectoryHash
Calculates the hash for a given directory using the default (SHA256) algorithm.
static
CalculateFileHash(ICakeContext, FilePath, HashAlgorithm) FileHash
Calculates the hash for a given file.
static
CalculateFileHash(ICakeContext, FilePath) FileHash
Calculates the hash for a given file using the default (SHA256) algorithm.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin