Documentation ¶
Index ¶
- Variables
- type AttestationServiceClient
- type AttestationServiceDescriptor
- func (d *AttestationServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor
- func (d *AttestationServiceDescriptor) GetApiName() string
- func (d *AttestationServiceDescriptor) GetFullAPIName() string
- func (d *AttestationServiceDescriptor) GetProtoPkgName() string
- func (d *AttestationServiceDescriptor) GetServiceDomain() string
- func (d *AttestationServiceDescriptor) GetServiceVersion() string
- type VerifyClientStream
- type VerifyDescriptor
- func (d *VerifyDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *VerifyDescriptor) GetApiName() string
- func (d *VerifyDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *VerifyDescriptor) GetFullMethodName() string
- func (d *VerifyDescriptor) GetMethodName() string
- func (d *VerifyDescriptor) GetProtoPkgName() string
- func (d *VerifyDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *VerifyDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *VerifyDescriptor) GetServiceDomain() string
- func (d *VerifyDescriptor) GetServiceVersion() string
- func (d *VerifyDescriptor) GetVerb() string
- func (d *VerifyDescriptor) HasResource() bool
- func (d *VerifyDescriptor) IsClientStream() bool
- func (d *VerifyDescriptor) IsCollection() bool
- func (d *VerifyDescriptor) IsPlural() bool
- func (d *VerifyDescriptor) IsServerStream() bool
- func (d *VerifyDescriptor) IsUnary() bool
- func (d *VerifyDescriptor) NewEmptyClientMsg() proto.Message
- func (d *VerifyDescriptor) NewEmptyServerMsg() proto.Message
- func (d *VerifyDescriptor) RequestHasResourceBody() bool
- type VerifyDescriptorClientMsgHandle
- func (h *VerifyDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *VerifyDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *VerifyDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *VerifyDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *VerifyDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type VerifyDescriptorServerMsgHandle
- func (h *VerifyDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *VerifyDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *VerifyDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *VerifyDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *VerifyDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type VerifyRequest
- func (*VerifyRequest) Descriptor() ([]byte, []int)
- func (m *VerifyRequest) GetAskForChallenge() *VerifyRequest_AskForChallenge
- func (m *VerifyRequest) GetChallengeResponse() *VerifyRequest_ChallengeResponse
- func (m *VerifyRequest) GetMsg() isVerifyRequest_Msg
- func (*VerifyRequest) GotenMessage()
- func (obj *VerifyRequest) GotenValidate() error
- func (m *VerifyRequest) Marshal() ([]byte, error)
- func (m *VerifyRequest) MarshalJSON() ([]byte, error)
- func (*VerifyRequest) ProtoMessage()
- func (m *VerifyRequest) ProtoReflect() preflect.Message
- func (m *VerifyRequest) Reset()
- func (m *VerifyRequest) SetAskForChallenge(fv *VerifyRequest_AskForChallenge)
- func (m *VerifyRequest) SetChallengeResponse(fv *VerifyRequest_ChallengeResponse)
- func (m *VerifyRequest) SetMsg(ofv isVerifyRequest_Msg)
- func (m *VerifyRequest) String() string
- func (m *VerifyRequest) Unmarshal(b []byte) error
- func (m *VerifyRequest) UnmarshalJSON(data []byte) error
- type VerifyRequest_AskForChallenge
- func (*VerifyRequest_AskForChallenge) Descriptor() ([]byte, []int)
- func (m *VerifyRequest_AskForChallenge) GetAkpub() []byte
- func (m *VerifyRequest_AskForChallenge) GetAttest() []byte
- func (m *VerifyRequest_AskForChallenge) GetAttestationDomain() *attestation_domain.Name
- func (m *VerifyRequest_AskForChallenge) GetChallengeFormat() VerifyRequest_AskForChallenge_ChallengeFormat
- func (m *VerifyRequest_AskForChallenge) GetCreationData() []byte
- func (m *VerifyRequest_AskForChallenge) GetEkcert() []byte
- func (m *VerifyRequest_AskForChallenge) GetEkcerturl() string
- func (m *VerifyRequest_AskForChallenge) GetEkpub() []byte
- func (m *VerifyRequest_AskForChallenge) GetSignature() []byte
- func (m *VerifyRequest_AskForChallenge) GetSubject() string
- func (m *VerifyRequest_AskForChallenge) GetTpmVersion() iam_common.TpmVersion
- func (*VerifyRequest_AskForChallenge) GotenMessage()
- func (obj *VerifyRequest_AskForChallenge) GotenValidate() error
- func (m *VerifyRequest_AskForChallenge) Marshal() ([]byte, error)
- func (m *VerifyRequest_AskForChallenge) MarshalJSON() ([]byte, error)
- func (*VerifyRequest_AskForChallenge) ProtoMessage()
- func (m *VerifyRequest_AskForChallenge) ProtoReflect() preflect.Message
- func (m *VerifyRequest_AskForChallenge) Reset()
- func (m *VerifyRequest_AskForChallenge) SetAkpub(fv []byte)
- func (m *VerifyRequest_AskForChallenge) SetAttest(fv []byte)
- func (m *VerifyRequest_AskForChallenge) SetAttestationDomain(fv *attestation_domain.Name)
- func (m *VerifyRequest_AskForChallenge) SetChallengeFormat(fv VerifyRequest_AskForChallenge_ChallengeFormat)
- func (m *VerifyRequest_AskForChallenge) SetCreationData(fv []byte)
- func (m *VerifyRequest_AskForChallenge) SetEkcert(fv []byte)
- func (m *VerifyRequest_AskForChallenge) SetEkcerturl(fv string)
- func (m *VerifyRequest_AskForChallenge) SetEkpub(fv []byte)
- func (m *VerifyRequest_AskForChallenge) SetSignature(fv []byte)
- func (m *VerifyRequest_AskForChallenge) SetSubject(fv string)
- func (m *VerifyRequest_AskForChallenge) SetTpmVersion(fv iam_common.TpmVersion)
- func (m *VerifyRequest_AskForChallenge) String() string
- func (m *VerifyRequest_AskForChallenge) Unmarshal(b []byte) error
- func (m *VerifyRequest_AskForChallenge) UnmarshalJSON(data []byte) error
- type VerifyRequest_AskForChallenge_
- type VerifyRequest_AskForChallenge_ChallengeFormat
- func (VerifyRequest_AskForChallenge_ChallengeFormat) Descriptor() preflect.EnumDescriptor
- func (x VerifyRequest_AskForChallenge_ChallengeFormat) Enum() *VerifyRequest_AskForChallenge_ChallengeFormat
- func (VerifyRequest_AskForChallenge_ChallengeFormat) EnumDescriptor() ([]byte, []int)
- func (x VerifyRequest_AskForChallenge_ChallengeFormat) Number() preflect.EnumNumber
- func (x VerifyRequest_AskForChallenge_ChallengeFormat) String() string
- func (VerifyRequest_AskForChallenge_ChallengeFormat) Type() preflect.EnumType
- type VerifyRequest_ChallengeResponse
- func (*VerifyRequest_ChallengeResponse) Descriptor() ([]byte, []int)
- func (m *VerifyRequest_ChallengeResponse) GetAkActivationDecryptedSecret() []byte
- func (m *VerifyRequest_ChallengeResponse) GetEventlog() []byte
- func (m *VerifyRequest_ChallengeResponse) GetPcrs() []*iam_common.PCR
- func (m *VerifyRequest_ChallengeResponse) GetQuotes() []*VerifyRequest_ChallengeResponse_Quote
- func (*VerifyRequest_ChallengeResponse) GotenMessage()
- func (obj *VerifyRequest_ChallengeResponse) GotenValidate() error
- func (m *VerifyRequest_ChallengeResponse) Marshal() ([]byte, error)
- func (m *VerifyRequest_ChallengeResponse) MarshalJSON() ([]byte, error)
- func (*VerifyRequest_ChallengeResponse) ProtoMessage()
- func (m *VerifyRequest_ChallengeResponse) ProtoReflect() preflect.Message
- func (m *VerifyRequest_ChallengeResponse) Reset()
- func (m *VerifyRequest_ChallengeResponse) SetAkActivationDecryptedSecret(fv []byte)
- func (m *VerifyRequest_ChallengeResponse) SetEventlog(fv []byte)
- func (m *VerifyRequest_ChallengeResponse) SetPcrs(fv []*iam_common.PCR)
- func (m *VerifyRequest_ChallengeResponse) SetQuotes(fv []*VerifyRequest_ChallengeResponse_Quote)
- func (m *VerifyRequest_ChallengeResponse) String() string
- func (m *VerifyRequest_ChallengeResponse) Unmarshal(b []byte) error
- func (m *VerifyRequest_ChallengeResponse) UnmarshalJSON(data []byte) error
- type VerifyRequest_ChallengeResponse_
- type VerifyRequest_ChallengeResponse_Quote
- func (*VerifyRequest_ChallengeResponse_Quote) Descriptor() ([]byte, []int)
- func (m *VerifyRequest_ChallengeResponse_Quote) GetQuote() []byte
- func (m *VerifyRequest_ChallengeResponse_Quote) GetSignature() []byte
- func (*VerifyRequest_ChallengeResponse_Quote) GotenMessage()
- func (obj *VerifyRequest_ChallengeResponse_Quote) GotenValidate() error
- func (m *VerifyRequest_ChallengeResponse_Quote) Marshal() ([]byte, error)
- func (m *VerifyRequest_ChallengeResponse_Quote) MarshalJSON() ([]byte, error)
- func (*VerifyRequest_ChallengeResponse_Quote) ProtoMessage()
- func (m *VerifyRequest_ChallengeResponse_Quote) ProtoReflect() preflect.Message
- func (m *VerifyRequest_ChallengeResponse_Quote) Reset()
- func (m *VerifyRequest_ChallengeResponse_Quote) SetQuote(fv []byte)
- func (m *VerifyRequest_ChallengeResponse_Quote) SetSignature(fv []byte)
- func (m *VerifyRequest_ChallengeResponse_Quote) String() string
- func (m *VerifyRequest_ChallengeResponse_Quote) Unmarshal(b []byte) error
- func (m *VerifyRequest_ChallengeResponse_Quote) UnmarshalJSON(data []byte) error
- type VerifyResponse
- func (*VerifyResponse) Descriptor() ([]byte, []int)
- func (m *VerifyResponse) GetAttestationSuccessful() *VerifyResponse_AttestationSuccessful
- func (m *VerifyResponse) GetChallenge() *VerifyResponse_Challenge
- func (m *VerifyResponse) GetMsg() isVerifyResponse_Msg
- func (*VerifyResponse) GotenMessage()
- func (obj *VerifyResponse) GotenValidate() error
- func (m *VerifyResponse) Marshal() ([]byte, error)
- func (m *VerifyResponse) MarshalJSON() ([]byte, error)
- func (*VerifyResponse) ProtoMessage()
- func (m *VerifyResponse) ProtoReflect() preflect.Message
- func (m *VerifyResponse) Reset()
- func (m *VerifyResponse) SetAttestationSuccessful(fv *VerifyResponse_AttestationSuccessful)
- func (m *VerifyResponse) SetChallenge(fv *VerifyResponse_Challenge)
- func (m *VerifyResponse) SetMsg(ofv isVerifyResponse_Msg)
- func (m *VerifyResponse) String() string
- func (m *VerifyResponse) Unmarshal(b []byte) error
- func (m *VerifyResponse) UnmarshalJSON(data []byte) error
- type VerifyResponse_AttestationSuccessful
- func (*VerifyResponse_AttestationSuccessful) Descriptor() ([]byte, []int)
- func (m *VerifyResponse_AttestationSuccessful) GetAttestationToken() string
- func (*VerifyResponse_AttestationSuccessful) GotenMessage()
- func (obj *VerifyResponse_AttestationSuccessful) GotenValidate() error
- func (m *VerifyResponse_AttestationSuccessful) Marshal() ([]byte, error)
- func (m *VerifyResponse_AttestationSuccessful) MarshalJSON() ([]byte, error)
- func (*VerifyResponse_AttestationSuccessful) ProtoMessage()
- func (m *VerifyResponse_AttestationSuccessful) ProtoReflect() preflect.Message
- func (m *VerifyResponse_AttestationSuccessful) Reset()
- func (m *VerifyResponse_AttestationSuccessful) SetAttestationToken(fv string)
- func (m *VerifyResponse_AttestationSuccessful) String() string
- func (m *VerifyResponse_AttestationSuccessful) Unmarshal(b []byte) error
- func (m *VerifyResponse_AttestationSuccessful) UnmarshalJSON(data []byte) error
- type VerifyResponse_AttestationSuccessful_
- type VerifyResponse_Challenge
- func (*VerifyResponse_Challenge) Descriptor() ([]byte, []int)
- func (m *VerifyResponse_Challenge) GetCredEncryptedByEkpub() []byte
- func (m *VerifyResponse_Challenge) GetPlatformAttestationNonce() []byte
- func (m *VerifyResponse_Challenge) GetSecretEncryptedByCred() []byte
- func (*VerifyResponse_Challenge) GotenMessage()
- func (obj *VerifyResponse_Challenge) GotenValidate() error
- func (m *VerifyResponse_Challenge) Marshal() ([]byte, error)
- func (m *VerifyResponse_Challenge) MarshalJSON() ([]byte, error)
- func (*VerifyResponse_Challenge) ProtoMessage()
- func (m *VerifyResponse_Challenge) ProtoReflect() preflect.Message
- func (m *VerifyResponse_Challenge) Reset()
- func (m *VerifyResponse_Challenge) SetCredEncryptedByEkpub(fv []byte)
- func (m *VerifyResponse_Challenge) SetPlatformAttestationNonce(fv []byte)
- func (m *VerifyResponse_Challenge) SetSecretEncryptedByCred(fv []byte)
- func (m *VerifyResponse_Challenge) String() string
- func (m *VerifyResponse_Challenge) Unmarshal(b []byte) error
- func (m *VerifyResponse_Challenge) UnmarshalJSON(data []byte) error
- type VerifyResponse_Challenge_
Constants ¶
This section is empty.
Variables ¶
var ( VerifyRequest_AskForChallenge_ChallengeFormat_name = map[int32]string{ 0: "TPM20_CREDENTIAL", 1: "TPM12_EKBLOB", 2: "TSPI_EKBLOB", } VerifyRequest_AskForChallenge_ChallengeFormat_value = map[string]int32{ "TPM20_CREDENTIAL": 0, "TPM12_EKBLOB": 1, "TSPI_EKBLOB": 2, } )
Functions ¶
This section is empty.
Types ¶
type AttestationServiceClient ¶
type AttestationServiceClient interface {
Verify(ctx context.Context, opts ...grpc.CallOption) (VerifyClientStream, error)
}
AttestationServiceClient is the client API for AttestationService.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAttestationServiceClient ¶
func NewAttestationServiceClient(cc grpc.ClientConnInterface) AttestationServiceClient
type AttestationServiceDescriptor ¶ added in v0.4.28
type AttestationServiceDescriptor struct{}
func GetAttestationServiceDescriptor ¶ added in v0.4.28
func GetAttestationServiceDescriptor() *AttestationServiceDescriptor
func (*AttestationServiceDescriptor) AllMethodDescriptors ¶ added in v0.4.28
func (d *AttestationServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor
func (*AttestationServiceDescriptor) GetApiName ¶ added in v0.4.28
func (d *AttestationServiceDescriptor) GetApiName() string
func (*AttestationServiceDescriptor) GetFullAPIName ¶ added in v0.4.28
func (d *AttestationServiceDescriptor) GetFullAPIName() string
func (*AttestationServiceDescriptor) GetProtoPkgName ¶ added in v0.4.28
func (d *AttestationServiceDescriptor) GetProtoPkgName() string
func (*AttestationServiceDescriptor) GetServiceDomain ¶ added in v0.4.28
func (d *AttestationServiceDescriptor) GetServiceDomain() string
func (*AttestationServiceDescriptor) GetServiceVersion ¶ added in v0.4.28
func (d *AttestationServiceDescriptor) GetServiceVersion() string
type VerifyClientStream ¶
type VerifyClientStream interface { Send(*VerifyRequest) error Recv() (*VerifyResponse, error) grpc.ClientStream }
type VerifyDescriptor ¶ added in v0.4.28
type VerifyDescriptor struct{}
func GetVerifyDescriptor ¶ added in v0.4.28
func GetVerifyDescriptor() *VerifyDescriptor
func (*VerifyDescriptor) GetApiDescriptor ¶ added in v0.4.28
func (d *VerifyDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*VerifyDescriptor) GetApiName ¶ added in v0.4.28
func (d *VerifyDescriptor) GetApiName() string
func (*VerifyDescriptor) GetClientMsgReflectHandle ¶ added in v0.4.28
func (d *VerifyDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*VerifyDescriptor) GetFullMethodName ¶ added in v0.4.28
func (d *VerifyDescriptor) GetFullMethodName() string
func (*VerifyDescriptor) GetMethodName ¶ added in v0.4.28
func (d *VerifyDescriptor) GetMethodName() string
func (*VerifyDescriptor) GetProtoPkgName ¶ added in v0.4.28
func (d *VerifyDescriptor) GetProtoPkgName() string
func (*VerifyDescriptor) GetResourceDescriptor ¶ added in v0.4.30
func (d *VerifyDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*VerifyDescriptor) GetServerMsgReflectHandle ¶ added in v0.4.28
func (d *VerifyDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*VerifyDescriptor) GetServiceDomain ¶ added in v0.4.28
func (d *VerifyDescriptor) GetServiceDomain() string
func (*VerifyDescriptor) GetServiceVersion ¶ added in v0.4.28
func (d *VerifyDescriptor) GetServiceVersion() string
func (*VerifyDescriptor) GetVerb ¶ added in v0.4.28
func (d *VerifyDescriptor) GetVerb() string
func (*VerifyDescriptor) HasResource ¶ added in v0.4.30
func (d *VerifyDescriptor) HasResource() bool
func (*VerifyDescriptor) IsClientStream ¶ added in v0.4.28
func (d *VerifyDescriptor) IsClientStream() bool
func (*VerifyDescriptor) IsCollection ¶ added in v0.4.30
func (d *VerifyDescriptor) IsCollection() bool
func (*VerifyDescriptor) IsPlural ¶ added in v0.4.30
func (d *VerifyDescriptor) IsPlural() bool
func (*VerifyDescriptor) IsServerStream ¶ added in v0.4.28
func (d *VerifyDescriptor) IsServerStream() bool
func (*VerifyDescriptor) IsUnary ¶ added in v0.4.28
func (d *VerifyDescriptor) IsUnary() bool
func (*VerifyDescriptor) NewEmptyClientMsg ¶ added in v0.4.28
func (d *VerifyDescriptor) NewEmptyClientMsg() proto.Message
func (*VerifyDescriptor) NewEmptyServerMsg ¶ added in v0.4.28
func (d *VerifyDescriptor) NewEmptyServerMsg() proto.Message
func (*VerifyDescriptor) RequestHasResourceBody ¶ added in v0.4.28
func (d *VerifyDescriptor) RequestHasResourceBody() bool
type VerifyDescriptorClientMsgHandle ¶ added in v0.4.28
type VerifyDescriptorClientMsgHandle struct{}
func (*VerifyDescriptorClientMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *VerifyDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*VerifyDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *VerifyDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*VerifyDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *VerifyDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*VerifyDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *VerifyDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*VerifyDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *VerifyDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type VerifyDescriptorServerMsgHandle ¶ added in v0.4.28
type VerifyDescriptorServerMsgHandle struct{}
func (*VerifyDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *VerifyDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*VerifyDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *VerifyDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*VerifyDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *VerifyDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*VerifyDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *VerifyDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*VerifyDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *VerifyDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type VerifyRequest ¶
type VerifyRequest struct { // Types that are valid to be assigned to Msg: // *VerifyRequest_AskForChallenge_ // *VerifyRequest_ChallengeResponse_ Msg isVerifyRequest_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
Request message for method [Verify][ntt.iam.v1alpha2.Verify]
func (*VerifyRequest) Descriptor ¶
func (*VerifyRequest) Descriptor() ([]byte, []int)
Deprecated, Use VerifyRequest.ProtoReflect.Descriptor instead.
func (*VerifyRequest) GetAskForChallenge ¶
func (m *VerifyRequest) GetAskForChallenge() *VerifyRequest_AskForChallenge
func (*VerifyRequest) GetChallengeResponse ¶
func (m *VerifyRequest) GetChallengeResponse() *VerifyRequest_ChallengeResponse
func (*VerifyRequest) GetMsg ¶
func (m *VerifyRequest) GetMsg() isVerifyRequest_Msg
func (*VerifyRequest) GotenMessage ¶
func (*VerifyRequest) GotenMessage()
func (*VerifyRequest) GotenValidate ¶
func (obj *VerifyRequest) GotenValidate() error
func (*VerifyRequest) Marshal ¶
func (m *VerifyRequest) Marshal() ([]byte, error)
func (*VerifyRequest) MarshalJSON ¶
func (m *VerifyRequest) MarshalJSON() ([]byte, error)
func (*VerifyRequest) ProtoMessage ¶
func (*VerifyRequest) ProtoMessage()
func (*VerifyRequest) ProtoReflect ¶
func (m *VerifyRequest) ProtoReflect() preflect.Message
func (*VerifyRequest) Reset ¶
func (m *VerifyRequest) Reset()
func (*VerifyRequest) SetAskForChallenge ¶
func (m *VerifyRequest) SetAskForChallenge(fv *VerifyRequest_AskForChallenge)
func (*VerifyRequest) SetChallengeResponse ¶
func (m *VerifyRequest) SetChallengeResponse(fv *VerifyRequest_ChallengeResponse)
func (*VerifyRequest) SetMsg ¶
func (m *VerifyRequest) SetMsg(ofv isVerifyRequest_Msg)
func (*VerifyRequest) String ¶
func (m *VerifyRequest) String() string
func (*VerifyRequest) Unmarshal ¶
func (m *VerifyRequest) Unmarshal(b []byte) error
func (*VerifyRequest) UnmarshalJSON ¶
func (m *VerifyRequest) UnmarshalJSON(data []byte) error
type VerifyRequest_AskForChallenge ¶
type VerifyRequest_AskForChallenge struct { // This will be used to set "sub" claim for attestation token. // This "sub" should be compared to "sub" of JWT access token during // validation. "Sub" comparison ties both tokens together and protects // against theft/reuse of one of them by another service account. Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty" firestore:"subject"` // attestation domain ref AttestationDomain *attestation_domain.Name `` /* 158-byte string literal not displayed */ TpmVersion iam_common.TpmVersion `` /* 148-byte string literal not displayed */ // PKIX encoded EK public Ekpub []byte `protobuf:"bytes,4,opt,name=ekpub,proto3" json:"ekpub,omitempty" firestore:"ekpub"` // ASN.1 DER encoded EK certificate. Ekcert []byte `protobuf:"bytes,5,opt,name=ekcert,proto3" json:"ekcert,omitempty" firestore:"ekcert"` // For Intel TPMs, Intel hosts certificates at a public URL derived from the // Public key. Clients or servers can perform an HTTP GET to this URL, and // use ParseEKCertificate on the response body. Ekcerturl string `protobuf:"bytes,6,opt,name=ekcerturl,proto3" json:"ekcerturl,omitempty" firestore:"ekcerturl"` // https://trustedcomputinggroup.org/wp-content/uploads/TPM-Main-Part-2-TPM-Structures_v1.2_rev116_01032011.pdf // https://www.trustedcomputinggroup.org/wp-content/uploads/TPM-Rev-2.0-Part-2-Structures-01.38.pdf // TPMT_PUBLIC (TPM 2.0) or TPM_PUBKEY (TPM 1.2) Akpub []byte `protobuf:"bytes,7,opt,name=akpub,proto3" json:"akpub,omitempty" firestore:"akpub"` // TPMS_CREATION_DATA CreationData []byte `protobuf:"bytes,8,opt,name=creation_data,json=creationData,proto3" json:"creation_data,omitempty" firestore:"creationData"` // TPMS_ATTEST Attest []byte `protobuf:"bytes,9,opt,name=attest,proto3" json:"attest,omitempty" firestore:"attest"` // TPMT_SIGNATURE Signature []byte `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty" firestore:"signature"` // ChallengeFormat defines the method of generating identity activation // challenge by the Verifier (server). It should affect the interpretation // ChallengeResponse fields cred_encrypted_by_ekpub and // secret_encrypted_by_cred. Attestor (client) is responsible for chosing // the right format depending on TPM version and the presence of TrouSerS // daemon. ChallengeFormat VerifyRequest_AskForChallenge_ChallengeFormat `` /* 204-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VerifyRequest_AskForChallenge) Descriptor ¶
func (*VerifyRequest_AskForChallenge) Descriptor() ([]byte, []int)
Deprecated, Use VerifyRequest_AskForChallenge.ProtoReflect.Descriptor instead.
func (*VerifyRequest_AskForChallenge) GetAkpub ¶
func (m *VerifyRequest_AskForChallenge) GetAkpub() []byte
func (*VerifyRequest_AskForChallenge) GetAttest ¶
func (m *VerifyRequest_AskForChallenge) GetAttest() []byte
func (*VerifyRequest_AskForChallenge) GetAttestationDomain ¶
func (m *VerifyRequest_AskForChallenge) GetAttestationDomain() *attestation_domain.Name
func (*VerifyRequest_AskForChallenge) GetChallengeFormat ¶
func (m *VerifyRequest_AskForChallenge) GetChallengeFormat() VerifyRequest_AskForChallenge_ChallengeFormat
func (*VerifyRequest_AskForChallenge) GetCreationData ¶
func (m *VerifyRequest_AskForChallenge) GetCreationData() []byte
func (*VerifyRequest_AskForChallenge) GetEkcert ¶
func (m *VerifyRequest_AskForChallenge) GetEkcert() []byte
func (*VerifyRequest_AskForChallenge) GetEkcerturl ¶
func (m *VerifyRequest_AskForChallenge) GetEkcerturl() string
func (*VerifyRequest_AskForChallenge) GetEkpub ¶
func (m *VerifyRequest_AskForChallenge) GetEkpub() []byte
func (*VerifyRequest_AskForChallenge) GetSignature ¶
func (m *VerifyRequest_AskForChallenge) GetSignature() []byte
func (*VerifyRequest_AskForChallenge) GetSubject ¶
func (m *VerifyRequest_AskForChallenge) GetSubject() string
func (*VerifyRequest_AskForChallenge) GetTpmVersion ¶
func (m *VerifyRequest_AskForChallenge) GetTpmVersion() iam_common.TpmVersion
func (*VerifyRequest_AskForChallenge) GotenMessage ¶
func (*VerifyRequest_AskForChallenge) GotenMessage()
func (*VerifyRequest_AskForChallenge) GotenValidate ¶
func (obj *VerifyRequest_AskForChallenge) GotenValidate() error
func (*VerifyRequest_AskForChallenge) Marshal ¶
func (m *VerifyRequest_AskForChallenge) Marshal() ([]byte, error)
func (*VerifyRequest_AskForChallenge) MarshalJSON ¶
func (m *VerifyRequest_AskForChallenge) MarshalJSON() ([]byte, error)
func (*VerifyRequest_AskForChallenge) ProtoMessage ¶
func (*VerifyRequest_AskForChallenge) ProtoMessage()
func (*VerifyRequest_AskForChallenge) ProtoReflect ¶
func (m *VerifyRequest_AskForChallenge) ProtoReflect() preflect.Message
func (*VerifyRequest_AskForChallenge) Reset ¶
func (m *VerifyRequest_AskForChallenge) Reset()
func (*VerifyRequest_AskForChallenge) SetAkpub ¶
func (m *VerifyRequest_AskForChallenge) SetAkpub(fv []byte)
func (*VerifyRequest_AskForChallenge) SetAttest ¶
func (m *VerifyRequest_AskForChallenge) SetAttest(fv []byte)
func (*VerifyRequest_AskForChallenge) SetAttestationDomain ¶
func (m *VerifyRequest_AskForChallenge) SetAttestationDomain(fv *attestation_domain.Name)
func (*VerifyRequest_AskForChallenge) SetChallengeFormat ¶
func (m *VerifyRequest_AskForChallenge) SetChallengeFormat(fv VerifyRequest_AskForChallenge_ChallengeFormat)
func (*VerifyRequest_AskForChallenge) SetCreationData ¶
func (m *VerifyRequest_AskForChallenge) SetCreationData(fv []byte)
func (*VerifyRequest_AskForChallenge) SetEkcert ¶
func (m *VerifyRequest_AskForChallenge) SetEkcert(fv []byte)
func (*VerifyRequest_AskForChallenge) SetEkcerturl ¶
func (m *VerifyRequest_AskForChallenge) SetEkcerturl(fv string)
func (*VerifyRequest_AskForChallenge) SetEkpub ¶
func (m *VerifyRequest_AskForChallenge) SetEkpub(fv []byte)
func (*VerifyRequest_AskForChallenge) SetSignature ¶
func (m *VerifyRequest_AskForChallenge) SetSignature(fv []byte)
func (*VerifyRequest_AskForChallenge) SetSubject ¶
func (m *VerifyRequest_AskForChallenge) SetSubject(fv string)
func (*VerifyRequest_AskForChallenge) SetTpmVersion ¶
func (m *VerifyRequest_AskForChallenge) SetTpmVersion(fv iam_common.TpmVersion)
func (*VerifyRequest_AskForChallenge) String ¶
func (m *VerifyRequest_AskForChallenge) String() string
func (*VerifyRequest_AskForChallenge) Unmarshal ¶
func (m *VerifyRequest_AskForChallenge) Unmarshal(b []byte) error
func (*VerifyRequest_AskForChallenge) UnmarshalJSON ¶
func (m *VerifyRequest_AskForChallenge) UnmarshalJSON(data []byte) error
type VerifyRequest_AskForChallenge_ ¶
type VerifyRequest_AskForChallenge_ struct {
AskForChallenge *VerifyRequest_AskForChallenge `protobuf:"bytes,1,opt,name=ask_for_challenge,json=askForChallenge,proto3,oneof" firestore:"askForChallenge"`
}
type VerifyRequest_AskForChallenge_ChallengeFormat ¶
type VerifyRequest_AskForChallenge_ChallengeFormat int32
const ( // Credential Protection as defined in section 24 of the TPM specification // revision 2 part 1 See: // https://trustedcomputinggroup.org/resource/tpm-library-specification/ // Returned primitives are of type TPM2B_ID_OBJECT and // TPM2B_ENCRYPTED_SECRET. // NOTE: ECC is not supported. // // Reference implementation: // github.com/google/go-attestation@v0.3.2/attest/activation.go:generateChallengeTPM20, // which uses // github.com/google/go-tmp@v0.3.2/tmp2/credactivation/credential_activation.go:Generate VerifyRequest_AskForChallenge_TPM20_CREDENTIAL VerifyRequest_AskForChallenge_ChallengeFormat = 0 // Challenge as defined in section 15.1 of the TPM 1.2 commands spec // See: // https://trustedcomputinggroup.org/wp-content/uploads/TPM-Main-Part-3-Commands_v1.2_rev116_01032011.pdf // Returned primitives are of type TPM12_EKBLOB (with // TPM_EK_BLOB_ACTIVATE) and bytes. // // Reference implementation: // github.com/google/go-attestation@v0.3.2/attest/activation.go:generateChallengeTPM12, // which uses // github.com/google/go-attestation@v0.3.2/attest/challenge.go:generateChallenge12 VerifyRequest_AskForChallenge_TPM12_EKBLOB VerifyRequest_AskForChallenge_ChallengeFormat = 1 // TSPI_EKBLOB is a TPM1.2 challenge format accepted by TrouSerS daemon's // Tspi_TPM_ActivateIdentity function. As far as I can tell, it's not // documented except in the code. Returned primitives are of type // TPM12_EKBLOB (with TPM_EK_BLOB_ACTIVATE) and bytes. // // Reference implementation: // github.com/google/go-attestation@v0.3.2/attest/activation.go:generateChallengeTPM12, // which uses // github.com/google/go-tspi@v0.3.0/verification/verification.go:GenerateChallengeEx VerifyRequest_AskForChallenge_TSPI_EKBLOB VerifyRequest_AskForChallenge_ChallengeFormat = 2 )
func (VerifyRequest_AskForChallenge_ChallengeFormat) Descriptor ¶
func (VerifyRequest_AskForChallenge_ChallengeFormat) Descriptor() preflect.EnumDescriptor
func (VerifyRequest_AskForChallenge_ChallengeFormat) EnumDescriptor ¶
func (VerifyRequest_AskForChallenge_ChallengeFormat) EnumDescriptor() ([]byte, []int)
Deprecated, Use VerifyRequest_AskForChallenge_ChallengeFormat.ProtoReflect.Descriptor instead.
func (VerifyRequest_AskForChallenge_ChallengeFormat) Number ¶
func (x VerifyRequest_AskForChallenge_ChallengeFormat) Number() preflect.EnumNumber
func (VerifyRequest_AskForChallenge_ChallengeFormat) String ¶
func (x VerifyRequest_AskForChallenge_ChallengeFormat) String() string
func (VerifyRequest_AskForChallenge_ChallengeFormat) Type ¶
func (VerifyRequest_AskForChallenge_ChallengeFormat) Type() preflect.EnumType
type VerifyRequest_ChallengeResponse ¶
type VerifyRequest_ChallengeResponse struct { AkActivationDecryptedSecret []byte `` /* 186-byte string literal not displayed */ Quotes []*VerifyRequest_ChallengeResponse_Quote `protobuf:"bytes,2,rep,name=quotes,proto3" json:"quotes,omitempty" firestore:"quotes"` Pcrs []*iam_common.PCR `protobuf:"bytes,3,rep,name=pcrs,proto3" json:"pcrs,omitempty" firestore:"pcrs"` // Binary contents of /sys/kernel/security/tpm0/binary_bios_measurements Eventlog []byte `protobuf:"bytes,4,opt,name=eventlog,proto3" json:"eventlog,omitempty" firestore:"eventlog"` // contains filtered or unexported fields }
func (*VerifyRequest_ChallengeResponse) Descriptor ¶
func (*VerifyRequest_ChallengeResponse) Descriptor() ([]byte, []int)
Deprecated, Use VerifyRequest_ChallengeResponse.ProtoReflect.Descriptor instead.
func (*VerifyRequest_ChallengeResponse) GetAkActivationDecryptedSecret ¶
func (m *VerifyRequest_ChallengeResponse) GetAkActivationDecryptedSecret() []byte
func (*VerifyRequest_ChallengeResponse) GetEventlog ¶
func (m *VerifyRequest_ChallengeResponse) GetEventlog() []byte
func (*VerifyRequest_ChallengeResponse) GetPcrs ¶
func (m *VerifyRequest_ChallengeResponse) GetPcrs() []*iam_common.PCR
func (*VerifyRequest_ChallengeResponse) GetQuotes ¶
func (m *VerifyRequest_ChallengeResponse) GetQuotes() []*VerifyRequest_ChallengeResponse_Quote
func (*VerifyRequest_ChallengeResponse) GotenMessage ¶
func (*VerifyRequest_ChallengeResponse) GotenMessage()
func (*VerifyRequest_ChallengeResponse) GotenValidate ¶
func (obj *VerifyRequest_ChallengeResponse) GotenValidate() error
func (*VerifyRequest_ChallengeResponse) Marshal ¶
func (m *VerifyRequest_ChallengeResponse) Marshal() ([]byte, error)
func (*VerifyRequest_ChallengeResponse) MarshalJSON ¶
func (m *VerifyRequest_ChallengeResponse) MarshalJSON() ([]byte, error)
func (*VerifyRequest_ChallengeResponse) ProtoMessage ¶
func (*VerifyRequest_ChallengeResponse) ProtoMessage()
func (*VerifyRequest_ChallengeResponse) ProtoReflect ¶
func (m *VerifyRequest_ChallengeResponse) ProtoReflect() preflect.Message
func (*VerifyRequest_ChallengeResponse) Reset ¶
func (m *VerifyRequest_ChallengeResponse) Reset()
func (*VerifyRequest_ChallengeResponse) SetAkActivationDecryptedSecret ¶
func (m *VerifyRequest_ChallengeResponse) SetAkActivationDecryptedSecret(fv []byte)
func (*VerifyRequest_ChallengeResponse) SetEventlog ¶
func (m *VerifyRequest_ChallengeResponse) SetEventlog(fv []byte)
func (*VerifyRequest_ChallengeResponse) SetPcrs ¶
func (m *VerifyRequest_ChallengeResponse) SetPcrs(fv []*iam_common.PCR)
func (*VerifyRequest_ChallengeResponse) SetQuotes ¶
func (m *VerifyRequest_ChallengeResponse) SetQuotes(fv []*VerifyRequest_ChallengeResponse_Quote)
func (*VerifyRequest_ChallengeResponse) String ¶
func (m *VerifyRequest_ChallengeResponse) String() string
func (*VerifyRequest_ChallengeResponse) Unmarshal ¶
func (m *VerifyRequest_ChallengeResponse) Unmarshal(b []byte) error
func (*VerifyRequest_ChallengeResponse) UnmarshalJSON ¶
func (m *VerifyRequest_ChallengeResponse) UnmarshalJSON(data []byte) error
type VerifyRequest_ChallengeResponse_ ¶
type VerifyRequest_ChallengeResponse_ struct {
ChallengeResponse *VerifyRequest_ChallengeResponse `protobuf:"bytes,2,opt,name=challenge_response,json=challengeResponse,proto3,oneof" firestore:"challengeResponse"`
}
type VerifyRequest_ChallengeResponse_Quote ¶
type VerifyRequest_ChallengeResponse_Quote struct { // TPMS_ATTEST (TSS_VALIDATION.Data or TSS_VALIDATION.rgbData) // This contains PCR selection information for which the signature was // calculated and other required data, like nonce. Quote []byte `protobuf:"bytes,1,opt,name=quote,proto3" json:"quote,omitempty" firestore:"quote"` // TSS_VALIDATION.ValidationData or TSS_VALIDATION.rgbValidationData Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" firestore:"signature"` // contains filtered or unexported fields }
func (*VerifyRequest_ChallengeResponse_Quote) Descriptor ¶
func (*VerifyRequest_ChallengeResponse_Quote) Descriptor() ([]byte, []int)
Deprecated, Use VerifyRequest_ChallengeResponse_Quote.ProtoReflect.Descriptor instead.
func (*VerifyRequest_ChallengeResponse_Quote) GetQuote ¶
func (m *VerifyRequest_ChallengeResponse_Quote) GetQuote() []byte
func (*VerifyRequest_ChallengeResponse_Quote) GetSignature ¶
func (m *VerifyRequest_ChallengeResponse_Quote) GetSignature() []byte
func (*VerifyRequest_ChallengeResponse_Quote) GotenMessage ¶
func (*VerifyRequest_ChallengeResponse_Quote) GotenMessage()
func (*VerifyRequest_ChallengeResponse_Quote) GotenValidate ¶
func (obj *VerifyRequest_ChallengeResponse_Quote) GotenValidate() error
func (*VerifyRequest_ChallengeResponse_Quote) Marshal ¶
func (m *VerifyRequest_ChallengeResponse_Quote) Marshal() ([]byte, error)
func (*VerifyRequest_ChallengeResponse_Quote) MarshalJSON ¶
func (m *VerifyRequest_ChallengeResponse_Quote) MarshalJSON() ([]byte, error)
func (*VerifyRequest_ChallengeResponse_Quote) ProtoMessage ¶
func (*VerifyRequest_ChallengeResponse_Quote) ProtoMessage()
func (*VerifyRequest_ChallengeResponse_Quote) ProtoReflect ¶
func (m *VerifyRequest_ChallengeResponse_Quote) ProtoReflect() preflect.Message
func (*VerifyRequest_ChallengeResponse_Quote) Reset ¶
func (m *VerifyRequest_ChallengeResponse_Quote) Reset()
func (*VerifyRequest_ChallengeResponse_Quote) SetQuote ¶
func (m *VerifyRequest_ChallengeResponse_Quote) SetQuote(fv []byte)
func (*VerifyRequest_ChallengeResponse_Quote) SetSignature ¶
func (m *VerifyRequest_ChallengeResponse_Quote) SetSignature(fv []byte)
func (*VerifyRequest_ChallengeResponse_Quote) String ¶
func (m *VerifyRequest_ChallengeResponse_Quote) String() string
func (*VerifyRequest_ChallengeResponse_Quote) Unmarshal ¶
func (m *VerifyRequest_ChallengeResponse_Quote) Unmarshal(b []byte) error
func (*VerifyRequest_ChallengeResponse_Quote) UnmarshalJSON ¶
func (m *VerifyRequest_ChallengeResponse_Quote) UnmarshalJSON(data []byte) error
type VerifyResponse ¶
type VerifyResponse struct { // Types that are valid to be assigned to Msg: // *VerifyResponse_Challenge_ // *VerifyResponse_AttestationSuccessful_ Msg isVerifyResponse_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
Response message for method [Verify][ntt.iam.v1alpha2.Verify]
func (*VerifyResponse) Descriptor ¶
func (*VerifyResponse) Descriptor() ([]byte, []int)
Deprecated, Use VerifyResponse.ProtoReflect.Descriptor instead.
func (*VerifyResponse) GetAttestationSuccessful ¶
func (m *VerifyResponse) GetAttestationSuccessful() *VerifyResponse_AttestationSuccessful
func (*VerifyResponse) GetChallenge ¶
func (m *VerifyResponse) GetChallenge() *VerifyResponse_Challenge
func (*VerifyResponse) GetMsg ¶
func (m *VerifyResponse) GetMsg() isVerifyResponse_Msg
func (*VerifyResponse) GotenMessage ¶
func (*VerifyResponse) GotenMessage()
func (*VerifyResponse) GotenValidate ¶
func (obj *VerifyResponse) GotenValidate() error
func (*VerifyResponse) Marshal ¶
func (m *VerifyResponse) Marshal() ([]byte, error)
func (*VerifyResponse) MarshalJSON ¶
func (m *VerifyResponse) MarshalJSON() ([]byte, error)
func (*VerifyResponse) ProtoMessage ¶
func (*VerifyResponse) ProtoMessage()
func (*VerifyResponse) ProtoReflect ¶
func (m *VerifyResponse) ProtoReflect() preflect.Message
func (*VerifyResponse) Reset ¶
func (m *VerifyResponse) Reset()
func (*VerifyResponse) SetAttestationSuccessful ¶
func (m *VerifyResponse) SetAttestationSuccessful(fv *VerifyResponse_AttestationSuccessful)
func (*VerifyResponse) SetChallenge ¶
func (m *VerifyResponse) SetChallenge(fv *VerifyResponse_Challenge)
func (*VerifyResponse) SetMsg ¶
func (m *VerifyResponse) SetMsg(ofv isVerifyResponse_Msg)
func (*VerifyResponse) String ¶
func (m *VerifyResponse) String() string
func (*VerifyResponse) Unmarshal ¶
func (m *VerifyResponse) Unmarshal(b []byte) error
func (*VerifyResponse) UnmarshalJSON ¶
func (m *VerifyResponse) UnmarshalJSON(data []byte) error
type VerifyResponse_AttestationSuccessful ¶
type VerifyResponse_AttestationSuccessful struct { AttestationToken string `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VerifyResponse_AttestationSuccessful) Descriptor ¶
func (*VerifyResponse_AttestationSuccessful) Descriptor() ([]byte, []int)
Deprecated, Use VerifyResponse_AttestationSuccessful.ProtoReflect.Descriptor instead.
func (*VerifyResponse_AttestationSuccessful) GetAttestationToken ¶
func (m *VerifyResponse_AttestationSuccessful) GetAttestationToken() string
func (*VerifyResponse_AttestationSuccessful) GotenMessage ¶
func (*VerifyResponse_AttestationSuccessful) GotenMessage()
func (*VerifyResponse_AttestationSuccessful) GotenValidate ¶
func (obj *VerifyResponse_AttestationSuccessful) GotenValidate() error
func (*VerifyResponse_AttestationSuccessful) Marshal ¶
func (m *VerifyResponse_AttestationSuccessful) Marshal() ([]byte, error)
func (*VerifyResponse_AttestationSuccessful) MarshalJSON ¶
func (m *VerifyResponse_AttestationSuccessful) MarshalJSON() ([]byte, error)
func (*VerifyResponse_AttestationSuccessful) ProtoMessage ¶
func (*VerifyResponse_AttestationSuccessful) ProtoMessage()
func (*VerifyResponse_AttestationSuccessful) ProtoReflect ¶
func (m *VerifyResponse_AttestationSuccessful) ProtoReflect() preflect.Message
func (*VerifyResponse_AttestationSuccessful) Reset ¶
func (m *VerifyResponse_AttestationSuccessful) Reset()
func (*VerifyResponse_AttestationSuccessful) SetAttestationToken ¶
func (m *VerifyResponse_AttestationSuccessful) SetAttestationToken(fv string)
func (*VerifyResponse_AttestationSuccessful) String ¶
func (m *VerifyResponse_AttestationSuccessful) String() string
func (*VerifyResponse_AttestationSuccessful) Unmarshal ¶
func (m *VerifyResponse_AttestationSuccessful) Unmarshal(b []byte) error
func (*VerifyResponse_AttestationSuccessful) UnmarshalJSON ¶
func (m *VerifyResponse_AttestationSuccessful) UnmarshalJSON(data []byte) error
type VerifyResponse_AttestationSuccessful_ ¶
type VerifyResponse_AttestationSuccessful_ struct {
AttestationSuccessful *VerifyResponse_AttestationSuccessful `protobuf:"bytes,2,opt,name=attestation_successful,json=attestationSuccessful,proto3,oneof" firestore:"attestationSuccessful"`
}
type VerifyResponse_Challenge ¶
type VerifyResponse_Challenge struct { // Platform attestation PlatformAttestationNonce []byte `` /* 172-byte string literal not displayed */ // AK Identity Activation CredEncryptedByEkpub []byte `` /* 158-byte string literal not displayed */ SecretEncryptedByCred []byte `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VerifyResponse_Challenge) Descriptor ¶
func (*VerifyResponse_Challenge) Descriptor() ([]byte, []int)
Deprecated, Use VerifyResponse_Challenge.ProtoReflect.Descriptor instead.
func (*VerifyResponse_Challenge) GetCredEncryptedByEkpub ¶
func (m *VerifyResponse_Challenge) GetCredEncryptedByEkpub() []byte
func (*VerifyResponse_Challenge) GetPlatformAttestationNonce ¶
func (m *VerifyResponse_Challenge) GetPlatformAttestationNonce() []byte
func (*VerifyResponse_Challenge) GetSecretEncryptedByCred ¶
func (m *VerifyResponse_Challenge) GetSecretEncryptedByCred() []byte
func (*VerifyResponse_Challenge) GotenMessage ¶
func (*VerifyResponse_Challenge) GotenMessage()
func (*VerifyResponse_Challenge) GotenValidate ¶
func (obj *VerifyResponse_Challenge) GotenValidate() error
func (*VerifyResponse_Challenge) Marshal ¶
func (m *VerifyResponse_Challenge) Marshal() ([]byte, error)
func (*VerifyResponse_Challenge) MarshalJSON ¶
func (m *VerifyResponse_Challenge) MarshalJSON() ([]byte, error)
func (*VerifyResponse_Challenge) ProtoMessage ¶
func (*VerifyResponse_Challenge) ProtoMessage()
func (*VerifyResponse_Challenge) ProtoReflect ¶
func (m *VerifyResponse_Challenge) ProtoReflect() preflect.Message
func (*VerifyResponse_Challenge) Reset ¶
func (m *VerifyResponse_Challenge) Reset()
func (*VerifyResponse_Challenge) SetCredEncryptedByEkpub ¶
func (m *VerifyResponse_Challenge) SetCredEncryptedByEkpub(fv []byte)
func (*VerifyResponse_Challenge) SetPlatformAttestationNonce ¶
func (m *VerifyResponse_Challenge) SetPlatformAttestationNonce(fv []byte)
func (*VerifyResponse_Challenge) SetSecretEncryptedByCred ¶
func (m *VerifyResponse_Challenge) SetSecretEncryptedByCred(fv []byte)
func (*VerifyResponse_Challenge) String ¶
func (m *VerifyResponse_Challenge) String() string
func (*VerifyResponse_Challenge) Unmarshal ¶
func (m *VerifyResponse_Challenge) Unmarshal(b []byte) error
func (*VerifyResponse_Challenge) UnmarshalJSON ¶
func (m *VerifyResponse_Challenge) UnmarshalJSON(data []byte) error
type VerifyResponse_Challenge_ ¶
type VerifyResponse_Challenge_ struct {
Challenge *VerifyResponse_Challenge `protobuf:"bytes,1,opt,name=challenge,proto3,oneof" firestore:"challenge"`
}