Documentation
¶
Index ¶
- func AESDecrypt(aesKey []byte, data []byte) ([]byte, error)
- func AESEncrypt(aesKey []byte, data []byte) ([]byte, error)
- func LoadPrivateKey(data []byte) (*rsa.PrivateKey, error)
- func LoadPublicKey(data []byte) (*rsa.PublicKey, error)
- func MaskConfigCredentials(credentials map[string]any, provider_config []plugin_entities.ProviderConfig) map[string]any
- func RSASign(rsaPrivateKey *rsa.PrivateKey, data []byte) ([]byte, error)
- func VerifySign(rsaPublicKey *rsa.PublicKey, data []byte, sign []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPrivateKey ¶
func LoadPrivateKey(data []byte) (*rsa.PrivateKey, error)
func MaskConfigCredentials ¶
func MaskConfigCredentials( credentials map[string]any, provider_config []plugin_entities.ProviderConfig, ) map[string]any
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.