DecryptImage decrypts an image; it accepts either an OCI descriptor representing a manifest list or a single manifest
(ctx context.Context, cs content.Store, desc ocispec.Descriptor, cc *encconfig.CryptoConfig, lf LayerFilter)
| 469 | |
| 470 | // DecryptImage decrypts an image; it accepts either an OCI descriptor representing a manifest list or a single manifest |
| 471 | func DecryptImage(ctx context.Context, cs content.Store, desc ocispec.Descriptor, cc *encconfig.CryptoConfig, lf LayerFilter) (ocispec.Descriptor, bool, error) { |
| 472 | return cryptImage(ctx, cs, desc, cc, lf, cryptoOpDecrypt) |
| 473 | } |
| 474 | |
| 475 | // GetImageEncryptConverter returns a converter function for image encryption |
| 476 | func GetImageEncryptConverter(cc *encconfig.CryptoConfig, lf LayerFilter) converter.ConvertFunc { |
no test coverage detected
searching dependent graphs…