package
0.7.8
Repository: https://github.com/webishdev/stopnik.git
Documentation: pkg.go.dev

# Functions

LoadPrivateKey loads a private key from a given filename.
NewServerSecretLoader creates a ServerSecretLoader based on the current config.Config.
Sha1Hash returns a SHA1 hash for the given value.
Sha512Hash returns a SHA512 hash for the given value.
Sha512SaltedHash returns a SHA512 hash for the given value and salt.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ManagedKey defines a combination of keys defined for config.Client.
SigningPrivateKey defines a combination of private key, signing and hash algorithm.

# Interfaces

KeyLoader defines how to get ManagedKey for a specific client.
ServerSecretLoader defines how to receive a private server key.

# Type aliases

HashAlgorithm used for the names of the supported hash algorithms.