models

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KmsConfig

type KmsConfig struct {
	*dkmsopenapi.Config
	//默认使用KMS共享网关的接口API Name列表
	DefaultKmsApiNames []string
	//指定所有接口使用到的字符集编码
	Encoding *string
	// 高级接口开关 默认使用高级接口
	AdvanceSwitch bool
	// 强制使用低级转换接口 默认是false,即使用高级转换接口
	ForceLowVersionCryptoTransfer bool
}

func TransferKmsConfig

func TransferKmsConfig(config interface{}) (*KmsConfig, error)

type KmsRuntimeOptions

type KmsRuntimeOptions struct {
	*teautil.RuntimeOptions
	IsUseKmsShareGateway *bool
	Encoding             *string
}

func TransferKmsRuntimeOptions

func TransferKmsRuntimeOptions(runtime interface{}) (*KmsRuntimeOptions, error)

func (*KmsRuntimeOptions) ToDKmsRuntimeOptions

func (kro *KmsRuntimeOptions) ToDKmsRuntimeOptions() *dkmsutil.RuntimeOptions

Jump to

Keyboard shortcuts

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