class Pdns::TSIGKey

Overview

A TSIG key that can be used to authenticate NOTIFYs and AXFRs

Included Modules

Defined in:

pdns/tsig_key.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, name, algorithm) #

[View source]

Instance Method Detail

def algorithm : String #

The algorithm of the TSIG key


[View source]
def algorithm=(algorithm : String) #

The algorithm of the TSIG key


[View source]
def id : String? #

The ID for this key, used in the TSIGkey URL endpoint.


[View source]
def id? : String | Nil? #

The ID for this key, used in the TSIGkey URL endpoint.


[View source]
def key : String? #

The Base64 encoded secret key, empty when listing keys. MAY be empty when POSTing to have the server generate the key material


[View source]
def key=(key : String?) #

The Base64 encoded secret key, empty when listing keys. MAY be empty when POSTing to have the server generate the key material


[View source]
def name : String #

The name of the key


[View source]
def name=(name : String) #

The name of the key


[View source]
def type : String? #

Set to "TSIGKey"


[View source]
def type? : String | Nil? #

Set to "TSIGKey"


[View source]