Documentation ¶
Index ¶
- func AddCertificateHandler(w http.ResponseWriter, r *http.Request)
- func AddCertificateWithCSRHandler(w http.ResponseWriter, r *http.Request)
- func AdminSettingsHandler(w http.ResponseWriter, r *http.Request)
- func AdminUserAddHandler(w http.ResponseWriter, r *http.Request)
- func AdminUserEditHandler(w http.ResponseWriter, r *http.Request)
- func AdminUserListHandler(w http.ResponseWriter, r *http.Request)
- func AdminUserRemoveHandler(w http.ResponseWriter, r *http.Request)
- func ApiObtainCertificateHandler(w http.ResponseWriter, r *http.Request)
- func ApiObtainPrivateKeyHandler(w http.ResponseWriter, r *http.Request)
- func ApiOcspRequestHandler(w http.ResponseWriter, r *http.Request)
- func ApiRequestCertificateHandler(w http.ResponseWriter, r *http.Request)
- func IndexHandler(w http.ResponseWriter, r *http.Request)
- func ListCertificateHandler(w http.ResponseWriter, r *http.Request)
- func LoginHandler(w http.ResponseWriter, r *http.Request)
- func LogoutHandler(w http.ResponseWriter, r *http.Request)
- func RegistrationHandler(w http.ResponseWriter, r *http.Request)
- func RevokeCertificateHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCertificateHandler ¶
func AddCertificateHandler(w http.ResponseWriter, r *http.Request)
AddCertificateHandler allows to add a new certificate + private key via UI
func AddCertificateWithCSRHandler ¶
func AddCertificateWithCSRHandler(w http.ResponseWriter, r *http.Request)
AddCertificateWithCSRHandler enables you to upload a file containing a CSR to the UI and create a certificate
func AdminSettingsHandler ¶
func AdminSettingsHandler(w http.ResponseWriter, r *http.Request)
AdminSettingsHandler takes care of checking and write system-wide settings to the database
func AdminUserAddHandler ¶
func AdminUserAddHandler(w http.ResponseWriter, r *http.Request)
AdminUserAddHandler takes form values and creates a new user account
func AdminUserEditHandler ¶
func AdminUserEditHandler(w http.ResponseWriter, r *http.Request)
AdminUserEditHandler allows changing values for a given user account
func AdminUserListHandler ¶
func AdminUserListHandler(w http.ResponseWriter, r *http.Request)
AdminUserListHandler lists all existing user
func AdminUserRemoveHandler ¶
func AdminUserRemoveHandler(w http.ResponseWriter, r *http.Request)
AdminUserRemoveHandler allows removing a given user account
func ApiObtainCertificateHandler ¶
func ApiObtainCertificateHandler(w http.ResponseWriter, r *http.Request)
ApiObtainCertificateHandler allows to actually download a certificate
func ApiObtainPrivateKeyHandler ¶
func ApiObtainPrivateKeyHandler(w http.ResponseWriter, r *http.Request)
ApiObtainPrivateKeyHandler allows to actually download a private key
func ApiOcspRequestHandler ¶
func ApiOcspRequestHandler(w http.ResponseWriter, r *http.Request)
ApiOcspRequestHandler responds to OCSP requests with whether the certificate in question is revoked or not
func ApiRequestCertificateHandler ¶
func ApiRequestCertificateHandler(w http.ResponseWriter, r *http.Request)
ApiRequestCertificateHandler handles a client's request for a new certificate, generates a new certificate and private key for the client and sets appropriate location headers
func IndexHandler ¶
func IndexHandler(w http.ResponseWriter, r *http.Request)
IndexHandler shows, well, the index page
func ListCertificateHandler ¶
func ListCertificateHandler(w http.ResponseWriter, r *http.Request)
ListCertificateHandler lists all available certificates and private keys in the UI
func LoginHandler ¶
func LoginHandler(w http.ResponseWriter, r *http.Request)
LoginHandler authenticates the user against the database, created a session and associates it with the user
func LogoutHandler ¶
func LogoutHandler(w http.ResponseWriter, r *http.Request)
LogoutHandler makes sure the user session is invalidated and the session cookie is removed
func RegistrationHandler ¶
func RegistrationHandler(w http.ResponseWriter, r *http.Request)
RegistrationHandler handles form values, check for validity, adds the new user account and optionally sends out a confirmation email
func RevokeCertificateHandler ¶
func RevokeCertificateHandler(w http.ResponseWriter, r *http.Request)
RevokeCertificateHandler allows the revocation of a certificate via the UI
Types ¶
This section is empty.