Tizen_4.0 base
[platform/upstream/docker-engine.git] / vendor / github.com / cloudflare / cfssl / info / info.go
1 // Package info contains the definitions for the info endpoint
2 package info
3
4 // Req is the request struct for an info API request.
5 type Req struct {
6         Label   string `json:"label"`
7         Profile string `json:"profile"`
8 }
9
10 // Resp is the response for an Info API request.
11 type Resp struct {
12         Certificate  string   `json:"certificate"`
13         Usage        []string `json:"usages"`
14         ExpiryString string   `json:"expiry"`
15 }