Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpPkiAnnotator ¶
func NewHttpPkiAnnotator(cfg config.SdkInfo, hash interfaces.HashProvider, sign interfaces.SignatureProvider) interfaces.Annotator
Types ¶
type HttpPkiAnnotator ¶
type HttpPkiAnnotator struct {
// contains filtered or unexported fields
}
HttpPkiAnnotator is used to validate whether the signature on a given piece of data is valid, both sent in the HTTP message
func (*HttpPkiAnnotator) Do ¶
func (a *HttpPkiAnnotator) Do(ctx context.Context, data []byte) (contracts.Annotation, error)
Click to show internal directories.
Click to hide internal directories.