Class ConfigurationValueCodecs
Creates common persisted configuration-value codecs from reusable reversible string transforms.
Inheritance
ConfigurationValueCodecs
Assembly: Eigenverft.NetLib.Infrastructure.dll
Syntax
public static class ConfigurationValueCodecs
Properties
|
Edit this page
View Source
Base64
Gets the Base64 representation codec.
Declaration
public static ConfigurationValueCodec Base64 { get; }
Property Value
|
Edit this page
View Source
Base92JsonSafe
Gets the JSON-safe Base92 representation codec.
Declaration
public static ConfigurationValueCodec Base92JsonSafe { get; }
Property Value
|
Edit this page
View Source
DpapiMachine
Gets the Windows DPAPI LocalMachine codec with Base64 payload.
Declaration
public static ConfigurationValueCodec DpapiMachine { get; }
Property Value
|
Edit this page
View Source
DpapiMachineBase64Url
Gets the Windows DPAPI LocalMachine codec with Base64Url payload.
Declaration
public static ConfigurationValueCodec DpapiMachineBase64Url { get; }
Property Value
|
Edit this page
View Source
Rot13
Declaration
public static ConfigurationValueCodec Rot13 { get; }
Property Value
Methods
|
Edit this page
View Source
AesPassword(byte[])
Creates a password-derived AES codec from visible ASCII password bytes.
Declaration
public static ConfigurationValueCodec AesPassword(byte[] passwordAsciiBytes)
Parameters
| Type |
Name |
Description |
| byte[] |
passwordAsciiBytes |
|
Returns
|
Edit this page
View Source
AesPassword(string)
Creates a password-derived AES codec.
Declaration
public static ConfigurationValueCodec AesPassword(string password)
Parameters
| Type |
Name |
Description |
| string |
password |
|
Returns
|
Edit this page
View Source
Caesar(int)
Declaration
public static ConfigurationValueCodec Caesar(int shift)
Parameters
| Type |
Name |
Description |
| int |
shift |
|
Returns
|
Edit this page
View Source
Compose(params ConfigurationValueCodec[])
Composes codecs in encoding order and decodes them in reverse order.
Declaration
public static ConfigurationValueCodec Compose(params ConfigurationValueCodec[] codecs)
Parameters
Returns
|
Edit this page
View Source
PhysicalMachineBoundAes()
Creates a codec bound to the current physical-machine fingerprint.
Declaration
public static ConfigurationValueCodec PhysicalMachineBoundAes()
Returns