client

package
v0.0.0-...-028f1de Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckKey

func CheckKey(keyId string, jsonFlag bool) (output string, errCode int32, err error)

func CreateSecretParam

func CreateSecretParam(keyId, secretName, cipherText string, timeout int64) (paramInfo *cryptdata.ParamInfo, errCode int32, err error)

func DecryptText

func DecryptText(keyId, cipherText string) (plainText string, errCode int32, err error)

func EncryptText

func EncryptText(keyId, plainText string) (cipherText string, errCode int32, err error)

func GenRsaKeyPair

func GenRsaKeyPair(keyId string, keyTimeout int) (keyInfo *cryptdata.KeyInfo, errCode int32, err error)

func RmRsaKeyPair

func RmRsaKeyPair(keyId string) (errCode int32, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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