Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) CertChain ¶
func (a *API) CertChain(c *helper.HTTPWrapContext) (interface{}, error)
CertChain Certificate chain @Tags certleaf @Summary (p1)CertChain @Description Get certificate chain information @Produce json @Param self_cert query bool false "Show CA's own certificate chain" @Param sn query string false "SN+AKI Query the specified certificate" @Param aki query string false "SN+AKI Query the specified certificate" @Success 200 {object} helper.MSPNormalizeHTTPResponseBody{data=logic.LeafCert} " " @Failure 400 {object} helper.HTTPWrapErrorResponse @Failure 500 {object} helper.HTTPWrapErrorResponse @Router /certleaf/cert_chain [get]
func (*API) CertChainFromRoot ¶
func (a *API) CertChainFromRoot(c *helper.HTTPWrapContext) (interface{}, error)
CertChainFromRoot All certificate chains from the root Perspective @Tags certleaf @Summary (p1)Root view certificate chain @Description All certificate chains from the root Perspective @Produce json @Success 200 {object} helper.MSPNormalizeHTTPResponseBody{data=RootCertChains} " " @Failure 400 {object} helper.HTTPWrapErrorResponse @Failure 500 {object} helper.HTTPWrapErrorResponse @Router /certleaf/cert_chain_from_root [get]
type RootCertChains ¶
type RootCertChains struct {
Root *caLogic.IntermediateObject `json:"root"`
}