v30

package
v8.0.0-...-7c4b7c9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HmacAlgorithm_name = map[int32]string{
		0: "HMAC_ALGORITHM_UNSPECIFIED",
		1: "HMAC_ALGORITHM_HMAC_SHA256",
	}
	HmacAlgorithm_value = map[string]int32{
		"HMAC_ALGORITHM_UNSPECIFIED": 0,
		"HMAC_ALGORITHM_HMAC_SHA256": 1,
	}
)

Enum value maps for HmacAlgorithm.

View Source
var File_com_digitalasset_canton_admin_crypto_v30_crypto_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HmacAlgorithm

type HmacAlgorithm int32
const (
	HmacAlgorithm_HMAC_ALGORITHM_UNSPECIFIED HmacAlgorithm = 0
	HmacAlgorithm_HMAC_ALGORITHM_HMAC_SHA256 HmacAlgorithm = 1
)

func (HmacAlgorithm) Descriptor

func (HmacAlgorithm) Enum

func (x HmacAlgorithm) Enum() *HmacAlgorithm

func (HmacAlgorithm) EnumDescriptor deprecated

func (HmacAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use HmacAlgorithm.Descriptor instead.

func (HmacAlgorithm) Number

func (HmacAlgorithm) String

func (x HmacAlgorithm) String() string

func (HmacAlgorithm) Type

type Salt

type Salt struct {

	// Types that are assignable to Algorithm:
	//
	//	*Salt_Hmac
	Algorithm isSalt_Algorithm `protobuf_oneof:"algorithm"`
	Salt      []byte           `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	// contains filtered or unexported fields
}

func (*Salt) Descriptor deprecated

func (*Salt) Descriptor() ([]byte, []int)

Deprecated: Use Salt.ProtoReflect.Descriptor instead.

func (*Salt) GetAlgorithm

func (m *Salt) GetAlgorithm() isSalt_Algorithm

func (*Salt) GetHmac

func (x *Salt) GetHmac() HmacAlgorithm

func (*Salt) GetSalt

func (x *Salt) GetSalt() []byte

func (*Salt) ProtoMessage

func (*Salt) ProtoMessage()

func (*Salt) ProtoReflect

func (x *Salt) ProtoReflect() protoreflect.Message

func (*Salt) Reset

func (x *Salt) Reset()

func (*Salt) String

func (x *Salt) String() string

type Salt_Hmac

type Salt_Hmac struct {
	Hmac HmacAlgorithm `protobuf:"varint,1,opt,name=hmac,proto3,enum=com.digitalasset.canton.admin.crypto.v30.HmacAlgorithm,oneof"`
}

Jump to

Keyboard shortcuts

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