Data Fields | |
| ldns_signing_algorithm | _alg |
| union { | |
| RSA * rsa | |
| DSA * dsa | |
| unsigned char * 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. | |
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 83 of file keys.h.
| RSA* ldns_struct_key::rsa |
| DSA* ldns_struct_key::dsa |
| unsigned char* ldns_struct_key::hmac |
| union { ... } ldns_struct_key::_key |
Storage pointers for the types of keys supported.
| uint32_t ldns_struct_key::orig_ttl |
| uint32_t ldns_struct_key::inception |
| uint32_t ldns_struct_key::expiration |
| uint16_t ldns_struct_key::keytag |
| uint16_t ldns_struct_key::flags |
| 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.
1.5.3-20071008