cli

package
v0.0.0-...-88b5147 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InfoName, InfoLocation, InfoReason, InfoContact, TSA string
	CertType                                             string
)
View Source
var SignPDF = signPDFImpl

SignPDFFuncType defines the function signature for SignPDF

Functions

func LoadCertificateChain

func LoadCertificateChain(chainPath string, cert *x509.Certificate) [][]*x509.Certificate

func LoadCertificatesAndKey

func LoadCertificatesAndKey(certPath, keyPath, chainPath string) (*x509.Certificate, crypto.Signer, [][]*x509.Certificate)

func ParseCertType

func ParseCertType(s string) (sign.CertType, error)

func SignCommand

func SignCommand()

func TimeStampPDF

func TimeStampPDF(input, output, tsa string)

func Usage

func Usage()

func VerifyCommand

func VerifyCommand()

func VerifyPDF

func VerifyPDF(input string, enableExternalRevocation, requireDigitalSignatureKU, requireNonRepudiation,
	trustSignatureTime, validateTimestampCertificates, allowUntrustedRoots bool, httpTimeout time.Duration)

Types

This section is empty.

Jump to

Keyboard shortcuts

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