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 |
|---|---|
| Cake |
An attribute used for documentation of alias methods/properties. |
Methods
| Name | Value | Summary |
|---|---|---|
| Calculate |
DirectoryHash |
Calculates the hash for a given directory.
static
|
| Calculate |
DirectoryHash |
Calculates the hash for a given directory.
static
|
| Calculate |
DirectoryHash |
Calculates the hash for a given directory using the default (SHA256) algorithm.
static
|
| Calculate |
DirectoryHash |
Calculates the hash for a given directory using the default (SHA256) algorithm.
static
|
| CalculateFileHash |
FileHash |
Calculates the hash for a given file.
static
|
| CalculateFileHash |
FileHash |
Calculates the hash for a given file using the default (SHA256) algorithm.
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
