Documentation ¶
Index ¶
- Variables
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetAlg() psaalgorithm.Algorithm_Cipher
- func (x *Operation) GetKeyName() string
- func (x *Operation) GetPlaintext() []byte
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type Result
Constants ¶
This section is empty.
Variables ¶
View Source
var File_psa_cipher_encrypt_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct { KeyName string `protobuf:"bytes,1,opt,name=key_name,json=keyName,proto3" json:"key_name,omitempty"` Alg psaalgorithm.Algorithm_Cipher `protobuf:"varint,2,opt,name=alg,proto3,enum=psa_algorithm.Algorithm_Cipher" json:"alg,omitempty"` Plaintext []byte `protobuf:"bytes,3,opt,name=plaintext,proto3" json:"plaintext,omitempty"` // contains filtered or unexported fields }
func (*Operation) Descriptor
deprecated
func (*Operation) GetAlg ¶
func (x *Operation) GetAlg() psaalgorithm.Algorithm_Cipher
func (*Operation) GetKeyName ¶
func (*Operation) GetPlaintext ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
type Result ¶
type Result struct { Ciphertext []byte `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) GetCiphertext ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.