sslapi

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pkcs7

type Pkcs7 struct {
	// contains filtered or unexported fields
}

func ResolvePKCS7

func ResolvePKCS7(data []byte) (p7 *Pkcs7, inter, leaf *x509.Certificate, err error)

ResolvePKCS7 decodes the raw signature into an OpenSSL PKCS7 struct, and returns the intermediary and leaf certificates used for the signature

func (Pkcs7) Free

func (o Pkcs7) Free()

func (Pkcs7) SigningTime

func (o Pkcs7) SigningTime() (time.Time, error)

SigningTime returns the time of signing from a PKCS7 struct

Jump to

Keyboard shortcuts

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