From 4f9200cc47f741e1f6748d0649577612034605ca Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Tue, 3 Nov 2020 10:55:39 -0800 Subject: [PATCH] Add missing docs. --- cas/apiv1/requests.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cas/apiv1/requests.go b/cas/apiv1/requests.go index 5305ff43..38db3a67 100644 --- a/cas/apiv1/requests.go +++ b/cas/apiv1/requests.go @@ -104,8 +104,8 @@ type GetCertificateAuthorityResponse struct { RootCertificate *x509.Certificate } -// CreateCertificateAuthorityRequest ... -// This is a work in progress +// CreateCertificateAuthorityRequest is the request used to generate a root or +// intermediate certificate. type CreateCertificateAuthorityRequest struct { Name string Type CertificateAuthorityType @@ -125,8 +125,9 @@ type CreateCertificateAuthorityRequest struct { CreateKey *apiv1.CreateKeyRequest } -// CreateCertificateAuthorityResponse ... -// This is a work in progress +// CreateCertificateAuthorityResponse is the response for +// CreateCertificateAuthority method and contains the root or intermedate +// certificate generated as well as the CA chain. type CreateCertificateAuthorityResponse struct { Name string Certificate *x509.Certificate