ldns  1.8.4
ldns_struct_key Struct Reference

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.

Detailed Description

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.

Definition at line 122 of file keys.h.

Field Documentation

◆ _alg

ldns_signing_algorithm ldns_struct_key::_alg

Definition at line 123 of file keys.h.

◆ _use

signed char ldns_struct_key::_use

Whether to use this key when signing.

Definition at line 125 of file keys.h.

◆ _key

struct ldns_struct_key::[struct]._key ldns_struct_key::_key

◆ _extra

union ldns_struct_key::[union]._extra ldns_struct_key::_extra

◆ _pubkey_owner

ldns_rdf* ldns_struct_key::_pubkey_owner

Owner name of the key.

Definition at line 165 of file keys.h.