Documentation
¶
Overview ¶
Copyright 2022-2023 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2022-2024 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Index ¶
- Variables
- type IVerifier
- type Verifier
- func (o *Verifier) GetPublicKey() (*proto.PublicKey, error)
- func (o *Verifier) GetVTSState() (*proto.ServiceState, error)
- func (o *Verifier) IsSupportedMediaType(mt string) (bool, error)
- func (o *Verifier) ProcessEvidence(tenantID string, nonce []byte, data []byte, mt string) ([]byte, error)
- func (o *Verifier) SupportedMediaTypes() ([]string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInputParam = errors.New("invalid input parameter")
Functions ¶
This section is empty.
Types ¶
type IVerifier ¶
type Verifier ¶
type Verifier struct {
VTSClient vtsclient.IVTSClient
}
func (*Verifier) GetVTSState ¶
func (o *Verifier) GetVTSState() (*proto.ServiceState, error)
func (*Verifier) IsSupportedMediaType ¶
func (*Verifier) ProcessEvidence ¶
func (*Verifier) SupportedMediaTypes ¶
Click to show internal directories.
Click to hide internal directories.