tdns
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
RRSIGGen Struct Reference

Generates an RRSIG Resource Record. More...

#include <record-types.hh>

Inheritance diagram for RRSIGGen:
[legend]
Collaboration diagram for RRSIGGen:
[legend]

Public Member Functions

 RRSIGGen (DNSType type, uint16_t tag, const DNSName &signer, const std::string &signature, uint32_t origttl, uint32_t expire, uint32_t inception, uint8_t algo, uint8_t labels)
 
 RRSIGGen (DNSMessageReader &dmr)
 
 RRSIGGen (DNSStringReader dsr)
 
void toMessage (DNSMessageWriter &dpw) override
 
std::string toString () const override
 
DNSType getType () const override
 
template<typename X >
void doConv (X &x)
 
void xfrSignature (DNSMessageReader &dr)
 
void xfrSignature (DNSMessageWriter &dmw)
 
void xfrSignature (DNSStringWriter &dmw)
 
void xfrSignature (DNSStringReader &dmw)
 
- Public Member Functions inherited from RRGen
virtual ~RRGen ()
 

Public Attributes

DNSType d_type
 
uint16_t d_tag
 
DNSName d_signer
 
std::string d_signature
 
uint32_t d_origttl
 
uint32_t d_expire
 
uint32_t d_inception
 
uint8_t d_algo
 
uint8_t d_labels
 

Detailed Description

Generates an RRSIG Resource Record.

Constructor & Destructor Documentation

RRSIGGen::RRSIGGen ( DNSType  type,
uint16_t  tag,
const DNSName signer,
const std::string &  signature,
uint32_t  origttl,
uint32_t  expire,
uint32_t  inception,
uint8_t  algo,
uint8_t  labels 
)
inline
RRSIGGen::RRSIGGen ( DNSMessageReader dmr)
RRSIGGen::RRSIGGen ( DNSStringReader  dsr)

Member Function Documentation

template<typename X >
void RRSIGGen::doConv ( X &  x)

Here is the call graph for this function:

DNSType RRSIGGen::getType ( ) const
inlineoverridevirtual

Implements RRGen.

void RRSIGGen::toMessage ( DNSMessageWriter dpw)
overridevirtual

Implements RRGen.

std::string RRSIGGen::toString ( ) const
overridevirtual

Implements RRGen.

void RRSIGGen::xfrSignature ( DNSMessageReader dr)

Here is the call graph for this function:

void RRSIGGen::xfrSignature ( DNSMessageWriter dmw)

Here is the call graph for this function:

void RRSIGGen::xfrSignature ( DNSStringWriter dmw)
void RRSIGGen::xfrSignature ( DNSStringReader dmw)

Member Data Documentation

uint8_t RRSIGGen::d_algo
uint32_t RRSIGGen::d_expire
uint32_t RRSIGGen::d_inception
uint8_t RRSIGGen::d_labels
uint32_t RRSIGGen::d_origttl
std::string RRSIGGen::d_signature
DNSName RRSIGGen::d_signer
uint16_t RRSIGGen::d_tag
DNSType RRSIGGen::d_type

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