contract

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HpcrContractSignedEncrypted added in v1.1.0

func HpcrContractSignedEncrypted(contract, hyperProtectOs, encryptionCertificate, privateKey string) (string, string, string, error)

HpcrContractSignedEncrypted - function to generate Signed and Encrypted contract

func HpcrContractSignedEncryptedContractExpiry added in v1.1.0

func HpcrContractSignedEncryptedContractExpiry(contract, hyperProtectOs, encryptionCertificate, privateKey, cacert, caKey, csrDataStr, csrPemData string, expiryDays int) (string, string, string, error)

HpcrContractSignedEncryptedContractExpiry - function to generate sign with contract expiry enabled and encrypt contract (with CSR parameters and CSR file)

func HpcrJson added in v1.1.0

func HpcrJson(plainJson string) (string, string, string, error)

HpcrJson - function to generate base64 data and checksum from JSON string

func HpcrJsonEncrypted added in v1.1.0

func HpcrJsonEncrypted(plainJson, hyperProtectOs, encryptionCertificate string) (string, string, string, error)

HpcrJsonEncrypted - function to generate encrypted hyper protect data and SHA256 from plain JSON data

func HpcrText added in v1.1.0

func HpcrText(plainText string) (string, string, string, error)

HpcrText - function to generate base64 data and checksum from string

func HpcrTextEncrypted added in v1.1.0

func HpcrTextEncrypted(plainText, hyperProtectOs, encryptionCertificate string) (string, string, string, error)

HpcrTextEncrypted - function to generate encrypted Hyper protect data and SHA256 from plain text

func HpcrTgz added in v1.1.0

func HpcrTgz(folderPath string) (string, string, string, error)

HpcrTgz - function to generate base64 of tar.tgz which was prepared from docker compose/podman files

func HpcrTgzEncrypted added in v1.1.0

func HpcrTgzEncrypted(folderPath, hyperProtectOs, encryptionCertificate string) (string, string, string, error)

HpcrTgzEncrypted - function to generate encrypted tgz

func HpcrVerifyContract added in v1.7.0

func HpcrVerifyContract(contract, version string) error

HpcrVerifyContract - function to verify contract schema

Types

This section is empty.

Jump to

Keyboard shortcuts

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