v1

package
v0.0.0-...-de2cd80 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SignatureBehaviour_name = map[int32]string{
		0: "SIGNATURE_BEHAVIOUR_UNSPECIFIED",
		1: "SIGNATURE_BEHAVIOUR_OPTIONAL",
		2: "SIGNATURE_BEHAVIOUR_REQUIRED",
	}
	SignatureBehaviour_value = map[string]int32{
		"SIGNATURE_BEHAVIOUR_UNSPECIFIED": 0,
		"SIGNATURE_BEHAVIOUR_OPTIONAL":    1,
		"SIGNATURE_BEHAVIOUR_REQUIRED":    2,
	}
)

Enum value maps for SignatureBehaviour.

View Source
var (
	// Message Integrity Signature options.
	//
	// TODO(paul.molloy): This extension has not been registered with
	//       protobuf-global-extension-registry@google.com.
	// See: https://chromium.googlesource.com/chromium/src/+/master/third_party/protobuf/docs/options.md
	//
	// optional integrity.v1.Signature signature = 1090;
	E_Signature = &file_integrity_v1_signature_proto_extTypes[0]
)

Extension fields to descriptor.FieldOptions.

View Source
var File_integrity_v1_signature_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Signature

type Signature struct {

	// Indicates if MessageIntegrity code generation is enabled for the message and if it is required or optional.
	Behaviour SignatureBehaviour `protobuf:"varint,2,opt,name=behaviour,proto3,enum=integrity.v1.SignatureBehaviour" json:"behaviour,omitempty"`
	// contains filtered or unexported fields
}

Signature option for message integrity code generation.

func (*Signature) Descriptor deprecated

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

Deprecated: Use Signature.ProtoReflect.Descriptor instead.

func (*Signature) GetBehaviour

func (x *Signature) GetBehaviour() SignatureBehaviour

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) ProtoReflect

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

func (*Signature) Reset

func (x *Signature) Reset()

func (*Signature) String

func (x *Signature) String() string

type SignatureBehaviour

type SignatureBehaviour int32

An indicator of if a field is a signature field and if it is required or not.

const (
	SignatureBehaviour_SIGNATURE_BEHAVIOUR_UNSPECIFIED SignatureBehaviour = 0 // Don't use, unless to disable the signature from being used.
	SignatureBehaviour_SIGNATURE_BEHAVIOUR_OPTIONAL    SignatureBehaviour = 1 // Allow if field does not have a signature.
	SignatureBehaviour_SIGNATURE_BEHAVIOUR_REQUIRED    SignatureBehaviour = 2 // Fail if field does not have a signature.
)

func (SignatureBehaviour) Descriptor

func (SignatureBehaviour) Enum

func (SignatureBehaviour) EnumDescriptor deprecated

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

Deprecated: Use SignatureBehaviour.Descriptor instead.

func (SignatureBehaviour) Number

func (SignatureBehaviour) String

func (x SignatureBehaviour) String() string

func (SignatureBehaviour) Type

Jump to

Keyboard shortcuts

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