encrypt

package
v0.0.0-...-99fd3eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotifyLcpServer

func NotifyLcpServer(pub *apilcp.LcpPublication, licenseServerURL string, username string, password string) error

NotifyLcpServer notifies the License Server of the encryption of newly added publication

func ProcessPublication

func ProcessPublication(contentID, inputPath, tempRepo, outputRepo, storageRepo, storageURL string) (*apilcp.LcpPublication, error)

ProcessPublication encrypts a publication inputPath must contain a processable file extension (EPUB, PDF, LPF or RPF)

func StorePublication

func StorePublication(pub *apilcp.LcpPublication, inputPath string, storagePath string) error

StorePublication stores an encrypted file into its definitive storage. Only called for S3 buckets.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL