Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PkcsSigner = &signers.Signer{ Name: "pkcs7", Magic: magic.FileTypePKCS7, CertTypes: signers.CertTypeX509, Sign: nil, Verify: Verify, }
Functions ¶
Types ¶
type Timestamper ¶
type Timestamper struct {
Config *config.TimestampConfig
}
func (Timestamper) LegacyTimestamp ¶
func (t Timestamper) LegacyTimestamp(data []byte) (*pkcs7.ContentInfoSignedData, error)
func (Timestamper) Timestamp ¶
func (t Timestamper) Timestamp(data []byte, hash crypto.Hash) (*pkcs7.ContentInfoSignedData, error)
Click to show internal directories.
Click to hide internal directories.