Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTimestamper ¶ added in v0.2.2
type TSPTimestamper ¶
type TSPTimestamper struct {
// contains filtered or unexported fields
}
func NewTimestamper ¶
func NewTimestamper(opts ...TSPTimestamperOption) TSPTimestamper
type TSPTimestamperOption ¶
type TSPTimestamperOption func(*TSPTimestamper)
func TimestampWithHash ¶
func TimestampWithHash(h crypto.Hash) TSPTimestamperOption
func TimestampWithRequestCertificate ¶
func TimestampWithRequestCertificate(requestCertificate bool) TSPTimestamperOption
func TimestampWithUrl ¶
func TimestampWithUrl(url string) TSPTimestamperOption
type TSPVerifier ¶
type TSPVerifier struct {
// contains filtered or unexported fields
}
func NewVerifier ¶
func NewVerifier(opts ...TSPVerifierOption) TSPVerifier
type TSPVerifierOption ¶
type TSPVerifierOption func(*TSPVerifier)
func VerifyWithCerts ¶
func VerifyWithCerts(certs []*x509.Certificate) TSPVerifierOption
func VerifyWithHash ¶
func VerifyWithHash(h crypto.Hash) TSPVerifierOption
type TimestampVerifier ¶ added in v0.2.2
Click to show internal directories.
Click to hide internal directories.