![]() |
ldns
1.8.4
|
General key structure, can contain all types of keys that are used in DNSSEC. More...
#include <keys.h>
Data Structures | |
| struct | [struct]._key |
| Storage pointers for the types of keys supported. More... | |
| union | [union]._extra |
| Depending on the key we can have extra data. More... | |
Data Fields | |
| ldns_signing_algorithm | _alg |
| signed char | _use |
| Whether to use this key when signing. | |
| struct | _key |
| union | _extra |
| ldns_rdf * | _pubkey_owner |
| Owner name of the key. | |
General key structure, can contain all types of keys that are used in DNSSEC.
Mostly used to store private keys, since public keys can also be stored in a ldns_rr with type LDNS_RR_TYPE_DNSKEY.
This structure can also store some variables that influence the signatures generated by signing with this key, for instance the inception date.
| ldns_signing_algorithm ldns_struct_key::_alg |
| signed char ldns_struct_key::_use |
| struct ldns_struct_key::[struct]._key ldns_struct_key::_key |
| union ldns_struct_key::[union]._extra ldns_struct_key::_extra |