package
1.10.1
Repository: https://github.com/clouditor/clouditor.git
Documentation: pkg.go.dev

# Functions

DecryptPEMBlock is a drop-in replacement for x509.DecryptPEMBlock which only supports state-of-the art algorithms such as PBES2.
EncryptPEMBlock encrypts a private key contain in data into a PEM block according to PKCS#8.
LoadSigningKeys implements a singing keys func for our internal authorization server.
MarshalECPrivateKeyWithPassword marshals an ECDSA private key protected with a password according to PKCS#8 into a byte array.
ParseECPrivateKeyFromPEMWithPassword ready an ECDSA private key protected with a password according to PKCS#8 from a byte array.

# Constants

DefaultApiKeyPassword is the default password to protect the API key.
DefaultApiKeyPath is the default path for the API private key.
DefaultApiKeySaveOnCreate specifies whether a created API key will be saved.
DefaultConfigDirectory is the default path for the clouditor configuration, such as keys.

# Variables

No description provided by the author

# Structs

EncryptedPrivateKeyInfo contains meta-info about the encrypted private key.
EncryptionAlgorithmIdentifier is the identifier for the encryption algorithm.
EncryptionScheme is part of PBES2 and specifies the encryption algorithm.
KeyDerivationFunc is part of PBES2 and specify the key derivation function.
PBES2Params are parameters for PBES2.
PBKDF2Params are parameters for PBKDF2.
UserClaims extend jwt.StandardClaims with more detailed claims about a user.