package
0.0.0-20190808211627-1161409779f0
Repository: https://github.com/silvio/containerd.git
Documentation: pkg.go.dev
# Functions
CombineCryptoConfigs takes a CryptoConfig list and creates a single CryptoConfig containing the crypto configuration of all the key bundles.
DecryptWithGpgPrivKeys returns a CryptoConfig to decrypt with configured gpg private keys.
DecryptWithPrivKeys returns a CryptoConfig to decrypt with configured private keys.
DecryptWithX509s returns a CryptoConfig to decrypt with configured x509 certs.
EncryptWithGpg returns a CryptoConfig to encrypt with configured gpg parameters.
EncryptWithJwe returns a CryptoConfig to encrypt with jwe public keys.
EncryptWithPkcs7 returns a CryptoConfig to encrypt with pkcs7 x509 certs.
InitDecryption initialized a CryptoConfig object with parameters used for decryption.
InitEncryption initializes a CryptoConfig object with parameters used for encryption It also takes dcparameters that may be needed for decryption when adding a recipient to an already encrypted image.
# Structs
CryptoConfig is a common wrapper for EncryptConfig and DecrypConfig that can be passed through functions that share much code for encryption and decryption.
DecryptConfig wraps the Parameters map that holds the decryption key.
EncryptConfig is the container image PGP encryption configuration holding the identifiers of those that will be able to decrypt the container and the PGP public keyring file data that contains their public keys.