-
Notifications
You must be signed in to change notification settings - Fork 2
/
cryptokey.go
40 lines (29 loc) · 1019 Bytes
/
cryptokey.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* PowerDNS Authoritative HTTP API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: 0.0.13
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package pdnsapi
// Describes a DNSSEC cryptographic key
type Cryptokey struct {
// set to \"Cryptokey\"
Type_ string `json:"type,omitempty"`
// The internal identifier, read only
Id int32 `json:"id,omitempty"`
Keytype string `json:"keytype,omitempty"`
// Whether or not the key is in active use
Active bool `json:"active,omitempty"`
// The DNSKEY record for this key
Dnskey string `json:"dnskey,omitempty"`
// An array of DS records for this key
Ds []string `json:"ds,omitempty"`
// The private key in ISC format
Privatekey string `json:"privatekey,omitempty"`
// The name of the algorithm of the key, should be a mnemonic
Algorithm string `json:"algorithm,omitempty"`
// The size of the key
Bits int32 `json:"bits,omitempty"`
}