Documentation ¶
Index ¶
- Constants
- func CACRLURL(caSerial int64) string
- func CAUrl(caSerial int64) string
- func CertUrl(caSerial, certSerial int64) string
- func DeleteCRL(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCA(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCACRLCER(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCACRLPEM(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCACRLPEMTXT(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCACertificateCER(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCACertificatePEM(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCACertificatePEMTXT(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCAPrivateKeyCER(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCAPrivateKeyPEM(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCAPrivateKeyPEMTXT(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCAs(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCRL(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCert(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCertificateCER(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCertificatePEM(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCertificatePEMTXT(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCertificatePrivateKeyCER(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCertificatePrivateKeyPEM(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCertificatePrivateKeyPEMTXT(store *liftca.Store, r *ht.Request) *ht.Answer
- func GetCerts(store *liftca.Store, r *ht.Request) *ht.Answer
- func ObtainCA(store *liftca.Store, r *ht.Request) (*liftca.Parcel, *ht.Answer)
- func ObtainCAAndCert(store *liftca.Store, r *ht.Request) (*liftca.Parcel, *liftca.Parcel, *ht.Answer)
- func PostCA(store *liftca.Store, r *ht.Request) *ht.Answer
- func PostCRL(store *liftca.Store, r *ht.Request) *ht.Answer
- func PostCert(store *liftca.Store, r *ht.Request) *ht.Answer
- type JSONCARequest
- type JSONCAResponse
- type JSONCRLRequest
- type JSONCRLResponse
- type JSONCertRequest
- type JSONCertResponse
Constants ¶
View Source
const ( CaFolder = "ca" CertFolder = "cert" )
Variables ¶
This section is empty.
Functions ¶
func GetCACertificatePEMTXT ¶
func GetCAPrivateKeyPEMTXT ¶
func GetCertificatePEMTXT ¶
func ObtainCAAndCert ¶
Types ¶
type JSONCARequest ¶
type JSONCAResponse ¶
type JSONCAResponse struct { Self string `json:"self"` SerialNumber string `json:"serialNumber"` Name string `json:"name"` SubjectKeyID string `json:"subjectKeyID"` Visible bool `json:"visible"` }
func JSONCAResponseFromParcel ¶
func JSONCAResponseFromParcel(p *liftca.Parcel) *JSONCAResponse
type JSONCRLRequest ¶
type JSONCRLRequest struct {
SerialNumber string `json:"serialNumber"`
}
type JSONCRLResponse ¶
type JSONCertRequest ¶
type JSONCertRequest struct {
Host string `json:"host"`
}
type JSONCertResponse ¶
type JSONCertResponse struct { Host string `json:"host"` Self string `json:"self"` SerialNumber string `json:"serialNumber"` SubjectKeyID string `json:"subjectKeyID"` AuthorityKeyID string `json:"authorityKeyID"` }
func JSONCertResponseFromParcel ¶
func JSONCertResponseFromParcel(caId int64, p *liftca.Parcel) *JSONCertResponse
Click to show internal directories.
Click to hide internal directories.