package
0.0.0-20240624080303-ca7d48fb0c12
Repository: https://github.com/fastchain/mukade.git
Documentation: pkg.go.dev

# Functions

NewGetCertificate creates a new http.Handler for the get certificate operation.
NewGetCertificateInternalServerError creates GetCertificateInternalServerError with default headers values.
NewGetCertificateNotFound creates GetCertificateNotFound with default headers values.
NewGetCertificateOK creates GetCertificateOK with default headers values.
NewGetCertificateParams creates a new GetCertificateParams object There are no default values defined in the spec.
NewGetPFX creates a new http.Handler for the get p f x operation.
NewGetPFXInternalServerError creates GetPFXInternalServerError with default headers values.
NewGetPFXNotFound creates GetPFXNotFound with default headers values.
NewGetPFXOK creates GetPFXOK with default headers values.
NewGetPFXParams creates a new GetPFXParams object There are no default values defined in the spec.
NewIssueCertificate creates a new http.Handler for the issue certificate operation.
NewIssueCertificateBadRequest creates IssueCertificateBadRequest with default headers values.
NewIssueCertificateInternalServerError creates IssueCertificateInternalServerError with default headers values.
NewIssueCertificateOK creates IssueCertificateOK with default headers values.
NewIssueCertificateParams creates a new IssueCertificateParams object There are no default values defined in the spec.
NewMukadeAPI creates a new Mukade instance.
NewRequestCertificate creates a new http.Handler for the request certificate operation.
NewRequestCertificateBadRequest creates RequestCertificateBadRequest with default headers values.
NewRequestCertificateInternalServerError creates RequestCertificateInternalServerError with default headers values.
NewRequestCertificateOK creates RequestCertificateOK with default headers values.
NewRequestCertificateParams creates a new RequestCertificateParams object There are no default values defined in the spec.
NewRequestCRL creates a new http.Handler for the request c r l operation.
NewRequestCRLBadRequest creates RequestCRLBadRequest with default headers values.
NewRequestCRLInternalServerError creates RequestCRLInternalServerError with default headers values.
NewRequestCRLOK creates RequestCRLOK with default headers values.
NewRequestCRLParams creates a new RequestCRLParams object There are no default values defined in the spec.
NewRevokeCertificate creates a new http.Handler for the revoke certificate operation.
NewRevokeCertificateInternalServerError creates RevokeCertificateInternalServerError with default headers values.
NewRevokeCertificateNotFound creates RevokeCertificateNotFound with default headers values.
NewRevokeCertificateOK creates RevokeCertificateOK with default headers values.
NewRevokeCertificateParams creates a new RevokeCertificateParams object There are no default values defined in the spec.
NewSignRequest creates a new http.Handler for the sign request operation.
NewSignRequestBadRequest creates SignRequestBadRequest with default headers values.
NewSignRequestInternalServerError creates SignRequestInternalServerError with default headers values.
NewSignRequestOK creates SignRequestOK with default headers values.
NewSignRequestParams creates a new SignRequestParams object There are no default values defined in the spec.

# Constants

GetCertificateInternalServerErrorCode is the HTTP code returned for type GetCertificateInternalServerError.
GetCertificateNotFoundCode is the HTTP code returned for type GetCertificateNotFound.
GetCertificateOKCode is the HTTP code returned for type GetCertificateOK.
GetPFXInternalServerErrorCode is the HTTP code returned for type GetPFXInternalServerError.
GetPFXNotFoundCode is the HTTP code returned for type GetPFXNotFound.
GetPFXOKCode is the HTTP code returned for type GetPFXOK.
IssueCertificateBadRequestCode is the HTTP code returned for type IssueCertificateBadRequest.
IssueCertificateInternalServerErrorCode is the HTTP code returned for type IssueCertificateInternalServerError.
IssueCertificateOKCode is the HTTP code returned for type IssueCertificateOK.
RequestCertificateBadRequestCode is the HTTP code returned for type RequestCertificateBadRequest.
RequestCertificateInternalServerErrorCode is the HTTP code returned for type RequestCertificateInternalServerError.
RequestCertificateOKCode is the HTTP code returned for type RequestCertificateOK.
RequestCRLBadRequestCode is the HTTP code returned for type RequestCRLBadRequest.
RequestCRLInternalServerErrorCode is the HTTP code returned for type RequestCRLInternalServerError.
RequestCRLOKCode is the HTTP code returned for type RequestCRLOK.
RevokeCertificateInternalServerErrorCode is the HTTP code returned for type RevokeCertificateInternalServerError.
RevokeCertificateNotFoundCode is the HTTP code returned for type RevokeCertificateNotFound.
RevokeCertificateOKCode is the HTTP code returned for type RevokeCertificateOK.
SignRequestBadRequestCode is the HTTP code returned for type SignRequestBadRequest.
SignRequestInternalServerErrorCode is the HTTP code returned for type SignRequestInternalServerError.
SignRequestOKCode is the HTTP code returned for type SignRequestOK.

# Structs

GetCertificate swagger:route GET /certificates/{certificateId} getCertificate # Get certificate status Retrieve the status and details of a specific certificate.
GetCertificateInternalServerError Internal server error swagger:response getCertificateInternalServerError */.
GetCertificateNotFound Certificate not found swagger:response getCertificateNotFound */.
GetCertificateOK Successful retrieval of certificate data swagger:response getCertificateOK */.
GetCertificateParams contains all the bound params for the get certificate operation typically these are obtained from a http.Request swagger:parameters getCertificate.
GetCertificateURL generates an URL for the get certificate operation.
GetPFX swagger:route GET /certificates/{certificateId}/pfx getPFX # Get certificate pfx Retrieve pxf bundle for generated certificates */.
GetPFXInternalServerError Internal server error swagger:response getPFXInternalServerError */.
GetPFXNotFound Certificate not found swagger:response getPFXNotFound */.
GetPFXOK Request processed swagger:response getPFXOK */.
GetPFXParams contains all the bound params for the get p f x operation typically these are obtained from a http.Request swagger:parameters getPFX.
GetPFXURL generates an URL for the get p f x operation.
IssueCertificate swagger:route POST /certificates issueCertificate # Issue a new certificate Request the issuance of a new digital certificate.
IssueCertificateBadRequest Invalid request swagger:response issueCertificateBadRequest */.
IssueCertificateInternalServerError Internal server error swagger:response issueCertificateInternalServerError */.
IssueCertificateOK Certificate issued successfully swagger:response issueCertificateOK */.
IssueCertificateParams contains all the bound params for the issue certificate operation typically these are obtained from a http.Request swagger:parameters issueCertificate.
IssueCertificateURL generates an URL for the issue certificate operation.
MukadeAPI API for managing digital certificates issued by a Certificate Authority (CA).
RequestCertificate swagger:route POST /requests requestCertificate # Request a new certificate Request the issuance of a new digital certificate.
RequestCertificateBadRequest Invalid request swagger:response requestCertificateBadRequest */.
RequestCertificateInternalServerError Internal server error swagger:response requestCertificateInternalServerError */.
RequestCertificateOK Certificate requested successfully swagger:response requestCertificateOK */.
RequestCertificateParams contains all the bound params for the request certificate operation typically these are obtained from a http.Request swagger:parameters requestCertificate.
RequestCertificateURL generates an URL for the request certificate operation.
RequestCRL swagger:route GET /crl.crl requestCRL # Request a latest CRL Provide the latest CRL */.
RequestCRLBadRequest Invalid request swagger:response requestCRLBadRequest */.
RequestCRLInternalServerError Internal server error swagger:response requestCRLInternalServerError */.
RequestCRLOK Request processed swagger:response requestCRLOK */.
RequestCRLParams contains all the bound params for the request c r l operation typically these are obtained from a http.Request swagger:parameters requestCRL.
RequestCRLURL generates an URL for the request c r l operation.
RevokeCertificate swagger:route DELETE /certificates/{certificateId} revokeCertificate # Revoke a certificate Revoke a specific certificate.
RevokeCertificateInternalServerError Internal server error swagger:response revokeCertificateInternalServerError */.
RevokeCertificateNotFound Certificate not found swagger:response revokeCertificateNotFound */.
RevokeCertificateOK Certificate revoked successfully swagger:response revokeCertificateOK */.
RevokeCertificateParams contains all the bound params for the revoke certificate operation typically these are obtained from a http.Request swagger:parameters revokeCertificate.
RevokeCertificateURL generates an URL for the revoke certificate operation.
SignRequest swagger:route GET /requests/{requestId} signRequest # Issue certificate on request Request the issuance of a new digital certificate.
SignRequestBadRequest Invalid request swagger:response signRequestBadRequest */.
SignRequestInternalServerError Internal server error swagger:response signRequestInternalServerError */.
SignRequestOK Request processed swagger:response signRequestOK */.
SignRequestParams contains all the bound params for the sign request operation typically these are obtained from a http.Request swagger:parameters signRequest.
SignRequestURL generates an URL for the sign request operation.

# Interfaces

GetCertificateHandler interface for that can handle valid get certificate params.
GetPFXHandler interface for that can handle valid get p f x params.
IssueCertificateHandler interface for that can handle valid issue certificate params.
RequestCertificateHandler interface for that can handle valid request certificate params.
RequestCRLHandler interface for that can handle valid request c r l params.
RevokeCertificateHandler interface for that can handle valid revoke certificate params.
SignRequestHandler interface for that can handle valid sign request params.

# Type aliases

GetCertificateHandlerFunc turns a function with the right signature into a get certificate handler.
GetPFXHandlerFunc turns a function with the right signature into a get p f x handler.
IssueCertificateHandlerFunc turns a function with the right signature into a issue certificate handler.
RequestCertificateHandlerFunc turns a function with the right signature into a request certificate handler.
RequestCRLHandlerFunc turns a function with the right signature into a request c r l handler.
RevokeCertificateHandlerFunc turns a function with the right signature into a revoke certificate handler.
SignRequestHandlerFunc turns a function with the right signature into a sign request handler.