Documentation
¶
Index ¶
- func HpcrContractSignedEncrypted(contract, hyperProtectOs, encryptionCertificate, privateKey string) (string, string, string, error)
- func HpcrContractSignedEncryptedContractExpiry(...) (string, string, string, error)
- func HpcrJson(plainJson string) (string, string, string, error)
- func HpcrJsonEncrypted(plainJson, hyperProtectOs, encryptionCertificate string) (string, string, string, error)
- func HpcrText(plainText string) (string, string, string, error)
- func HpcrTextEncrypted(plainText, hyperProtectOs, encryptionCertificate string) (string, string, string, error)
- func HpcrTgz(folderPath string) (string, string, string, error)
- func HpcrTgzEncrypted(folderPath, hyperProtectOs, encryptionCertificate string) (string, string, string, error)
- func HpcrVerifyContract(contract, version string) error
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
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
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
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
HpcrVerifyContract - function to verify contract schema
Types ¶
This section is empty.