kms_envelope_go_proto

package
v1.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 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 KmsEnvelopeAeadKey

type KmsEnvelopeAeadKey struct {
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// The key format also contains the params.
	Params               *KmsEnvelopeAeadKeyFormat `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

There is no actual key material in the key.

func (*KmsEnvelopeAeadKey) Descriptor

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

func (*KmsEnvelopeAeadKey) GetParams

func (*KmsEnvelopeAeadKey) GetVersion

func (m *KmsEnvelopeAeadKey) GetVersion() uint32

func (*KmsEnvelopeAeadKey) ProtoMessage

func (*KmsEnvelopeAeadKey) ProtoMessage()

func (*KmsEnvelopeAeadKey) Reset

func (m *KmsEnvelopeAeadKey) Reset()

func (*KmsEnvelopeAeadKey) String

func (m *KmsEnvelopeAeadKey) String() string

func (*KmsEnvelopeAeadKey) XXX_DiscardUnknown

func (m *KmsEnvelopeAeadKey) XXX_DiscardUnknown()

func (*KmsEnvelopeAeadKey) XXX_Marshal

func (m *KmsEnvelopeAeadKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KmsEnvelopeAeadKey) XXX_Merge

func (m *KmsEnvelopeAeadKey) XXX_Merge(src proto.Message)

func (*KmsEnvelopeAeadKey) XXX_Size

func (m *KmsEnvelopeAeadKey) XXX_Size() int

func (*KmsEnvelopeAeadKey) XXX_Unmarshal

func (m *KmsEnvelopeAeadKey) XXX_Unmarshal(b []byte) error

type KmsEnvelopeAeadKeyFormat

type KmsEnvelopeAeadKeyFormat struct {
	// Required.
	// The location of the KEK in a remote KMS.
	// With Google Cloud KMS, valid values have this format:
	// gcp-kms://projects/*/locations/*/keyRings/*/cryptoKeys/*.
	// With AWS KMS, valid values have this format:
	// aws-kms://arn:aws:kms:<region>:<account-id>:key/<key-id>
	KekUri string `protobuf:"bytes,1,opt,name=kek_uri,json=kekUri,proto3" json:"kek_uri,omitempty"`
	// Key template of the Data Encryption Key, e.g., AesCtrHmacAeadKeyFormat.
	// Required.
	DekTemplate          *tink_go_proto.KeyTemplate `protobuf:"bytes,2,opt,name=dek_template,json=dekTemplate,proto3" json:"dek_template,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*KmsEnvelopeAeadKeyFormat) Descriptor

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

func (*KmsEnvelopeAeadKeyFormat) GetDekTemplate

func (m *KmsEnvelopeAeadKeyFormat) GetDekTemplate() *tink_go_proto.KeyTemplate

func (*KmsEnvelopeAeadKeyFormat) GetKekUri

func (m *KmsEnvelopeAeadKeyFormat) GetKekUri() string

func (*KmsEnvelopeAeadKeyFormat) ProtoMessage

func (*KmsEnvelopeAeadKeyFormat) ProtoMessage()

func (*KmsEnvelopeAeadKeyFormat) Reset

func (m *KmsEnvelopeAeadKeyFormat) Reset()

func (*KmsEnvelopeAeadKeyFormat) String

func (m *KmsEnvelopeAeadKeyFormat) String() string

func (*KmsEnvelopeAeadKeyFormat) XXX_DiscardUnknown

func (m *KmsEnvelopeAeadKeyFormat) XXX_DiscardUnknown()

func (*KmsEnvelopeAeadKeyFormat) XXX_Marshal

func (m *KmsEnvelopeAeadKeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KmsEnvelopeAeadKeyFormat) XXX_Merge

func (m *KmsEnvelopeAeadKeyFormat) XXX_Merge(src proto.Message)

func (*KmsEnvelopeAeadKeyFormat) XXX_Size

func (m *KmsEnvelopeAeadKeyFormat) XXX_Size() int

func (*KmsEnvelopeAeadKeyFormat) XXX_Unmarshal

func (m *KmsEnvelopeAeadKeyFormat) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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