forked from TrueCloudLab/certificates
Add missing docs.
This commit is contained in:
parent
74111d4432
commit
a0171c221e
1 changed files with 5 additions and 4 deletions
|
@ -104,8 +104,8 @@ type GetCertificateAuthorityResponse struct {
|
||||||
RootCertificate *x509.Certificate
|
RootCertificate *x509.Certificate
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateCertificateAuthorityRequest ...
|
// CreateCertificateAuthorityRequest is the request used to generate a root or
|
||||||
// This is a work in progress
|
// intermediate certificate.
|
||||||
type CreateCertificateAuthorityRequest struct {
|
type CreateCertificateAuthorityRequest struct {
|
||||||
Name string
|
Name string
|
||||||
Type CertificateAuthorityType
|
Type CertificateAuthorityType
|
||||||
|
@ -125,8 +125,9 @@ type CreateCertificateAuthorityRequest struct {
|
||||||
CreateKey *apiv1.CreateKeyRequest
|
CreateKey *apiv1.CreateKeyRequest
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateCertificateAuthorityResponse ...
|
// CreateCertificateAuthorityResponse is the response for
|
||||||
// This is a work in progress
|
// CreateCertificateAuthority method and contains the root or intermedate
|
||||||
|
// certificate generated as well as the CA chain.
|
||||||
type CreateCertificateAuthorityResponse struct {
|
type CreateCertificateAuthorityResponse struct {
|
||||||
Name string
|
Name string
|
||||||
Certificate *x509.Certificate
|
Certificate *x509.Certificate
|
||||||
|
|
Loading…
Reference in a new issue