Documentation
¶
Index ¶
- func CreateEnrolmentProfReqHandler(r *http.Request) []byte
- func CreateHTTPResponse(statuscode int, req *http.Request, ctype, body string) []byte
- func GetCACertReqHandler(req *http.Request, id string) []byte
- func GetCreateEnrolProfRequest(eid, esec, caprof, caname, role string) []byte
- func GetFailureJson(reason string) string
- func GetFingerprintReqHandler(r *http.Request) []byte
- func GetFingerprintRequest(caname string) []byte
- func GetGetCACertRequest() []byte
- func GetSimpleEnrollRequest(payload string) []byte
- func GetSuccessJson() string
- func HandleCreateEnrolProfResponse(res []byte) bool
- func HandleGetCACertResponse(res []byte) (string, error)
- func HandleGetFingerprintResponse(res []byte) (int, []byte, error)
- func HandleInvalidRequest(r *http.Request) []byte
- func HandleSimpleEnrollResponse(res []byte) (string, error)
- func HttpHandleAdminRequest(data []byte) []byte
- func HttpHandleESTRequest(data []byte, id string) []byte
- func RevokeCertificateReqHandler(w http.ResponseWriter, r *http.Request)
- func SimpleEnrollReqHandler(req *http.Request, id string) []byte
- type Ca
- type ClosingBuffer
- type CreateEnrolProf
- type EnrollResponse
- type FingerprintRes
- type RevokeCert
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHTTPResponse ¶
func GetFailureJson ¶
func GetFingerprintRequest ¶
func GetGetCACertRequest ¶
func GetGetCACertRequest() []byte
func GetSimpleEnrollRequest ¶
func GetSuccessJson ¶
func GetSuccessJson() string
func HandleGetCACertResponse ¶
func HandleInvalidRequest ¶
func HttpHandleAdminRequest ¶
func HttpHandleESTRequest ¶
func RevokeCertificateReqHandler ¶
func RevokeCertificateReqHandler(w http.ResponseWriter, r *http.Request)
TODO: This api is not being used yet.. will be supported
Types ¶
type ClosingBuffer ¶
func (*ClosingBuffer) Close ¶
func (cb *ClosingBuffer) Close() error
type CreateEnrolProf ¶
type EnrollResponse ¶
type FingerprintRes ¶
type RevokeCert ¶
Click to show internal directories.
Click to hide internal directories.