encrypt

package
v0.0.0-...-5339e54 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

* BSD 3-Clause License * Copyright © 2022. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* BSD 3-Clause License * Copyright © 2022. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New function for the activity

Types

type Activity

type Activity struct {
}

Activity is an activity that is used to invoke a REST Operation

func (*Activity) Eval

func (a *Activity) Eval(ctx activity.Context) (done bool, err error)

Eval implements api.Activity.Eval - Create the hash

func (*Activity) Metadata

func (a *Activity) Metadata() *activity.Metadata

Metadata for the activity

type Input

type Input struct {
	Data       string `md:"data"`       // Data to encrypt
	Passphrase string `md:"passphrase"` // Encryption passphrase
}

Input for the activity

func (*Input) FromMap

func (i *Input) FromMap(values map[string]interface{}) error

FromMap for input

func (*Input) ToMap

func (i *Input) ToMap() map[string]interface{}

ToMap for Input

type Output

type Output struct {
	Data string `md:"data"` // Data encrypted
}

Output for the activity

func (*Output) FromMap

func (o *Output) FromMap(values map[string]interface{}) error

FromMap convert to object

func (*Output) ToMap

func (o *Output) ToMap() map[string]interface{}

ToMap conver to object

type Settings

type Settings struct {
}

Jump to

Keyboard shortcuts

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