Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
Click to show internal directories.
Click to hide internal directories.