Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sign ¶
func Sign(ctx context.Context, r io.Reader, cert *certloader.Certificate, hashType crypto.Hash) (*binpatch.PatchSet, *pkcs9.TimestampedSignature, error)
Types ¶
type Signature ¶
type Signature struct { HashFunc crypto.Hash Signature *pkcs9.TimestampedSignature NotaryTicket []byte }
type SignatureParams ¶
Click to show internal directories.
Click to hide internal directories.