Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrMetadataIsNotSet is returned when metadata is not set. ErrMetadataIsNotSet = errors.New("metadata is not set") // ErrEncodingIsNotSet is returned when payload encoding metadata is not set. ErrEncodingIsNotSet = errors.New("payload encoding metadata is not set") // ErrEncodingIsNotSupported is returned when payload encoding is not supported. ErrEncodingIsNotSupported = errors.New("payload encoding is not supported") //ErrUnableToFindConverter is return when payload converter is not found ErrUnableToFindConverter = errors.New("payload converter is not found") )
View Source
var ( ErrPadFailure = errors.New("unpad error. This could happen when incorrect encryption key is used") ErrIVFailure = errors.New("failed random IV generation") )
Functions ¶
func NewEncryptDataConverterV1 ¶
func NewEncryptDataConverterV1(opts Options) (converter.DataConverter, error)
NewEncryptDataConverterV1 - Temporal provides a default unencrypted DataConverter however for some of our needs we need a DataConverter to encrypt maybe sensitive information into workflows. EncryptDataConverterV1 allows the ability to encrypt maybe sensitive workflows without compromising sensitive info we send to our temporal service.
Types ¶
type AESEncryptionServiceV1 ¶
Click to show internal directories.
Click to hide internal directories.