Add TemplateData to SSHSignRequest.
Add some omitempty tags.
This commit is contained in:
parent
a78f7e8913
commit
3b19bb9796
2 changed files with 11 additions and 9 deletions
|
@ -14,9 +14,9 @@ import (
|
|||
type SignRequest struct {
|
||||
CsrPEM CertificateRequest `json:"csr"`
|
||||
OTT string `json:"ott"`
|
||||
NotAfter TimeDuration `json:"notAfter"`
|
||||
NotBefore TimeDuration `json:"notBefore"`
|
||||
TemplateData json.RawMessage `json:"templateData"`
|
||||
NotAfter TimeDuration `json:"notAfter,omitempty"`
|
||||
NotBefore TimeDuration `json:"notBefore,omitempty"`
|
||||
TemplateData json.RawMessage `json:"templateData,omitempty"`
|
||||
}
|
||||
|
||||
// Validate checks the fields of the SignRequest and returns nil if they are ok
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue