ldns_struct_key Struct Reference

General key structure, can contain all types of keys that are used in DNSSEC. More...


Data Fields

ldns_signing_algorithm _alg
bool _use
 Whether to use this key when signing.
struct {
   EVP_PKEY *   key
   struct {
      unsigned char *   key
      size_t   size
   }   hmac
_key
 Storage pointers for the types of keys supported.
union {
   struct {
      uint32_t   orig_ttl
 The TTL of the rrset that is currently signed.
      uint32_t   inception
 The inception date of signatures made with this key.
      uint32_t   expiration
 The expiration date of signatures made with this key.
      uint16_t   keytag
 The keytag of this key.
      uint16_t   flags
 The dnssec key flags as specified in RFC4035, like ZSK and KSK.
   }   dnssec
 Some values that influence generated signatures.
_extra
 Depending on the key we can have extra data.
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 96 of file keys.h.


Field Documentation

Definition at line 97 of file keys.h.

Whether to use this key when signing.

Definition at line 99 of file keys.h.

Definition at line 105 of file keys.h.

unsigned char* ldns_struct_key::key

Definition at line 109 of file keys.h.

Definition at line 110 of file keys.h.

struct { ... } ldns_struct_key::hmac

struct { ... } ldns_struct_key::_key

Storage pointers for the types of keys supported.

The TTL of the rrset that is currently signed.

Definition at line 118 of file keys.h.

The inception date of signatures made with this key.

Definition at line 120 of file keys.h.

The expiration date of signatures made with this key.

Definition at line 122 of file keys.h.

The keytag of this key.

Definition at line 124 of file keys.h.

The dnssec key flags as specified in RFC4035, like ZSK and KSK.

Definition at line 126 of file keys.h.

struct { ... } ldns_struct_key::dnssec

Some values that influence generated signatures.

union { ... } ldns_struct_key::_extra

Depending on the key we can have extra data.

Owner name of the key.

Definition at line 130 of file keys.h.


Generated on Fri Aug 8 02:52:42 2008 for ldns by  doxygen 1.5.6