sdns
low-level DNS library
Loading...
Searching...
No Matches
Public Attributes | List of all members
sdns_rr_RRSIG Struct Reference

#include <sdns.h>

Public Attributes

uint16_t type_covered
 identifies the type of the RRset that is covered by this RRSIG record
 
uint8_t algorithm
 identifies the cryptographic algorithm used to create the signature
 
uint8_t labels
 specifies the number of labels in the original RRSIG RR owner name
 
uint32_t original_ttl
 specifies the TTL of the covered RRset as it appears in the authoritative zone
 
uint32_t signature_expiration
 validity period for the signature
 
uint32_t signature_inception
 validity period for the signature
 
uint16_t key_tag
 key tag value of the DNSKEY RR that validates this signature
 
char * signers_name
 the owner name of the DNSKEY RR that a validator is supposed to use to validate this signature
 
char * signature
 the cryptographic signature that covers the RRSIG RDATA and the RRset
 
uint16_t signature_len
 This is just a helper not an RFC standard field.
 

Detailed Description

The structure of the RRSIG RR based on RFC4034Sec3.1.

                        1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |        Type Covered           |  Algorithm    |     Labels    |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                         Original TTL                          |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                      Signature Expiration                     |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                      Signature Inception                      |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |            Key Tag            |                               /
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+         Signer's Name         /
 /                                                               /
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 /                                                               /
 /                            Signature                          /
 /                                                               /
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

The documentation for this struct was generated from the following file: