Asterisk - The Open Source Telephony Project  18.5.0
Functions
dns_tlsa.c File Reference

DNS TLSA Record Support. More...

#include "asterisk.h"
#include "asterisk/dns_core.h"
#include "asterisk/dns_tlsa.h"
Include dependency graph for dns_tlsa.c:

Go to the source code of this file.

Functions

const char * ast_dns_tlsa_get_association_data (const struct ast_dns_record *record)
 Get the certificate association data from a TLSA record. More...
 
unsigned int ast_dns_tlsa_get_matching_type (const struct ast_dns_record *record)
 Get the matching type field from a TLSA record. More...
 
unsigned int ast_dns_tlsa_get_selector (const struct ast_dns_record *record)
 Get the selector field from a TLSA record. More...
 
unsigned int ast_dns_tlsa_get_usage (const struct ast_dns_record *record)
 Get the certificate usage field from a TLSA record. More...
 

Detailed Description

DNS TLSA Record Support.

Author
Joshua Colp jcolp.nosp@m.@dig.nosp@m.ium.c.nosp@m.om

Definition in file dns_tlsa.c.

Function Documentation

◆ ast_dns_tlsa_get_association_data()

const char* ast_dns_tlsa_get_association_data ( const struct ast_dns_record record)

Get the certificate association data from a TLSA record.

Parameters
recordThe DNS record
Returns
the certificate association data

Definition at line 50 of file dns_tlsa.c.

References NULL.

51 {
52  return NULL;
53 }
#define NULL
Definition: resample.c:96

◆ ast_dns_tlsa_get_matching_type()

unsigned int ast_dns_tlsa_get_matching_type ( const struct ast_dns_record record)

Get the matching type field from a TLSA record.

Parameters
recordThe DNS record
Returns
the matching type field

Definition at line 45 of file dns_tlsa.c.

46 {
47  return 0;
48 }

◆ ast_dns_tlsa_get_selector()

unsigned int ast_dns_tlsa_get_selector ( const struct ast_dns_record record)

Get the selector field from a TLSA record.

Parameters
recordThe DNS record
Returns
the selector field

Definition at line 40 of file dns_tlsa.c.

41 {
42  return 0;
43 }

◆ ast_dns_tlsa_get_usage()

unsigned int ast_dns_tlsa_get_usage ( const struct ast_dns_record record)

Get the certificate usage field from a TLSA record.

Parameters
recordThe DNS record
Returns
the certificate usage field

Definition at line 35 of file dns_tlsa.c.

36 {
37  return 0;
38 }