Documentation ¶
Index ¶
- Variables
- type DuplicatedKey
- func (*DuplicatedKey) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicatedKey) GetDupDup() []byte
- func (x *DuplicatedKey) GetDupPub() []byte
- func (x *DuplicatedKey) GetDupSeed() []byte
- func (x *DuplicatedKey) GetEkPub() []byte
- func (x *DuplicatedKey) GetIv() []byte
- func (x *DuplicatedKey) GetKek() []byte
- func (x *DuplicatedKey) GetName() string
- func (*DuplicatedKey) ProtoMessage()
- func (x *DuplicatedKey) ProtoReflect() protoreflect.Message
- func (x *DuplicatedKey) Reset()
- func (x *DuplicatedKey) String() string
- type PCRS
- type SealedKey
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetDuplicatedOp() *DuplicatedKey
- func (m *Secret) GetKey() isSecret_Key
- func (x *Secret) GetName() string
- func (x *Secret) GetPcrs() []*PCRS
- func (x *Secret) GetSealedOp() *SealedKey
- func (x *Secret) GetType() Secret_KeyType
- func (x *Secret) GetUserAuth() bool
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- type Secret_DuplicatedOp
- type Secret_KeyType
- func (Secret_KeyType) Descriptor() protoreflect.EnumDescriptor
- func (x Secret_KeyType) Enum() *Secret_KeyType
- func (Secret_KeyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Secret_KeyType) Number() protoreflect.EnumNumber
- func (x Secret_KeyType) String() string
- func (Secret_KeyType) Type() protoreflect.EnumType
- type Secret_SealedOp
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Secret_KeyType_name = map[int32]string{ 0: "SEALED", 1: "DUPLICATE", } Secret_KeyType_value = map[string]int32{ "SEALED": 0, "DUPLICATE": 1, } )
Enum value maps for Secret_KeyType.
View Source
var File_tpmwrappb_wrap_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DuplicatedKey ¶
type DuplicatedKey struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Kek []byte `protobuf:"bytes,2,opt,name=kek,proto3" json:"kek,omitempty"` Iv []byte `protobuf:"bytes,3,opt,name=iv,proto3" json:"iv,omitempty"` EkPub []byte `protobuf:"bytes,4,opt,name=ekPub,proto3" json:"ekPub,omitempty"` DupPub []byte `protobuf:"bytes,5,opt,name=dupPub,proto3" json:"dupPub,omitempty"` DupDup []byte `protobuf:"bytes,6,opt,name=dupDup,proto3" json:"dupDup,omitempty"` DupSeed []byte `protobuf:"bytes,7,opt,name=dupSeed,proto3" json:"dupSeed,omitempty"` // contains filtered or unexported fields }
func (*DuplicatedKey) Descriptor
deprecated
func (*DuplicatedKey) Descriptor() ([]byte, []int)
Deprecated: Use DuplicatedKey.ProtoReflect.Descriptor instead.
func (*DuplicatedKey) GetDupDup ¶
func (x *DuplicatedKey) GetDupDup() []byte
func (*DuplicatedKey) GetDupPub ¶
func (x *DuplicatedKey) GetDupPub() []byte
func (*DuplicatedKey) GetDupSeed ¶
func (x *DuplicatedKey) GetDupSeed() []byte
func (*DuplicatedKey) GetEkPub ¶
func (x *DuplicatedKey) GetEkPub() []byte
func (*DuplicatedKey) GetIv ¶
func (x *DuplicatedKey) GetIv() []byte
func (*DuplicatedKey) GetKek ¶
func (x *DuplicatedKey) GetKek() []byte
func (*DuplicatedKey) GetName ¶
func (x *DuplicatedKey) GetName() string
func (*DuplicatedKey) ProtoMessage ¶
func (*DuplicatedKey) ProtoMessage()
func (*DuplicatedKey) ProtoReflect ¶
func (x *DuplicatedKey) ProtoReflect() protoreflect.Message
func (*DuplicatedKey) Reset ¶
func (x *DuplicatedKey) Reset()
func (*DuplicatedKey) String ¶
func (x *DuplicatedKey) String() string
type PCRS ¶
type PCRS struct { Pcr int32 `protobuf:"varint,1,opt,name=pcr,proto3" json:"pcr,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*PCRS) Descriptor
deprecated
func (*PCRS) ProtoMessage ¶
func (*PCRS) ProtoMessage()
func (*PCRS) ProtoReflect ¶
func (x *PCRS) ProtoReflect() protoreflect.Message
type SealedKey ¶
type SealedKey struct { Keyfile []byte `protobuf:"bytes,1,opt,name=keyfile,proto3" json:"keyfile,omitempty"` // contains filtered or unexported fields }
func (*SealedKey) Descriptor
deprecated
func (*SealedKey) GetKeyfile ¶
func (*SealedKey) ProtoMessage ¶
func (*SealedKey) ProtoMessage()
func (*SealedKey) ProtoReflect ¶
func (x *SealedKey) ProtoReflect() protoreflect.Message
type Secret ¶
type Secret struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type Secret_KeyType `protobuf:"varint,2,opt,name=type,proto3,enum=tpmwrappb.Secret_KeyType" json:"type,omitempty"` UserAuth bool `protobuf:"varint,3,opt,name=userAuth,proto3" json:"userAuth,omitempty"` Pcrs []*PCRS `protobuf:"bytes,4,rep,name=pcrs,proto3" json:"pcrs,omitempty"` // Types that are assignable to Key: // // *Secret_SealedOp // *Secret_DuplicatedOp Key isSecret_Key `protobuf_oneof:"Key"` // contains filtered or unexported fields }
func (*Secret) Descriptor
deprecated
func (*Secret) GetDuplicatedOp ¶
func (x *Secret) GetDuplicatedOp() *DuplicatedKey
func (*Secret) GetSealedOp ¶
func (*Secret) GetType ¶
func (x *Secret) GetType() Secret_KeyType
func (*Secret) GetUserAuth ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
type Secret_DuplicatedOp ¶
type Secret_DuplicatedOp struct {
DuplicatedOp *DuplicatedKey `protobuf:"bytes,6,opt,name=duplicated_op,json=duplicatedOp,proto3,oneof"`
}
type Secret_KeyType ¶
type Secret_KeyType int32
const ( Secret_SEALED Secret_KeyType = 0 Secret_DUPLICATE Secret_KeyType = 1 )
func (Secret_KeyType) Descriptor ¶
func (Secret_KeyType) Descriptor() protoreflect.EnumDescriptor
func (Secret_KeyType) Enum ¶
func (x Secret_KeyType) Enum() *Secret_KeyType
func (Secret_KeyType) EnumDescriptor
deprecated
func (Secret_KeyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Secret_KeyType.Descriptor instead.
func (Secret_KeyType) Number ¶
func (x Secret_KeyType) Number() protoreflect.EnumNumber
func (Secret_KeyType) String ¶
func (x Secret_KeyType) String() string
func (Secret_KeyType) Type ¶
func (Secret_KeyType) Type() protoreflect.EnumType
type Secret_SealedOp ¶
type Secret_SealedOp struct {
SealedOp *SealedKey `protobuf:"bytes,5,opt,name=sealed_op,json=sealedOp,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.