timestamp

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package timestamp provides functionalities of timestamp countersignature

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Timestamp

func Timestamp(req *signature.SignRequest, opts tspclient.RequestOptions) ([]byte, error)

Timestamp generates a timestamp request and sends to TSA. It then validates the TSA certificate chain against Notary Project certificate and signature algorithm requirements. On success, it returns the full bytes of the timestamp token received from TSA.

Reference: https://github.com/notaryproject/specifications/blob/v1.0.0/specs/signature-specification.md#leaf-certificates

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL