api

package
v0.0.0-...-86cf879 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APISet = wire.NewSet(
	TlsSet,
	OcspSet,
	CertificateSet,

) // end
View Source
var CertificateSet = wire.NewSet(wire.Struct(new(CertificateAPI), "*"))
View Source
var OcspSet = wire.NewSet(wire.Struct(new(OcspAPI), "*"))
View Source
var TlsSet = wire.NewSet(wire.Struct(new(TlsAPI), "*"))

Functions

This section is empty.

Types

type CertificateAPI

type CertificateAPI struct {
	CertificateSrv *service.CertificateSrv
}

func (*CertificateAPI) GetC

func (a *CertificateAPI) GetC(c *gin.Context)

func (*CertificateAPI) GetS

func (a *CertificateAPI) GetS(c *gin.Context)

func (*CertificateAPI) Revoke

func (a *CertificateAPI) Revoke(c *gin.Context)

func (*CertificateAPI) Verify

func (a *CertificateAPI) Verify(c *gin.Context)

type OcspAPI

type OcspAPI struct {
	OcspSrv *service.OcspSrv
}

func (*OcspAPI) Response

func (a *OcspAPI) Response(req *stdocsp.Request) ([]byte, http.Header, error)

利用cfssl内部handle

type TlsAPI

type TlsAPI struct {
	TlsSrv *service.TlsSrv
}

func (*TlsAPI) AuthSign

func (a *TlsAPI) AuthSign(c *gin.Context)

func (*TlsAPI) Info

func (a *TlsAPI) Info(c *gin.Context)

利用cfssl内部handle

func (*TlsAPI) Revoke

func (a *TlsAPI) Revoke(c *gin.Context)

利用cfssl内部handle

Jump to

Keyboard shortcuts

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