aboutsummaryrefslogtreecommitdiff
path: root/messages.go
diff options
context:
space:
mode:
Diffstat (limited to 'messages.go')
-rw-r--r--messages.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/messages.go b/messages.go
index 1be7c42..85aa48a 100644
--- a/messages.go
+++ b/messages.go
@@ -203,3 +203,8 @@ func (c *ChallengeType) UnmarshalText(b []byte) error {
}
return fmt.Errorf("unknown challenge %v", string(b))
}
+
+type CSR struct {
+ Resource Resource `json:"resource"` // new-cert
+ CSR string `json:"csr"`
+}