class Pdns::Cryptokey

Included Modules

Defined in:

pdns/cryptokey.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(*, key_type = nil, active = true, private_key = nil, algorithm = nil, bits = nil) #

[View source]

Instance Method Detail

def active? : Bool #

Whether or not the key is in active use


[View source]
def algorithm : String? #

The name of the algorithm of the key, should be a mnemonic


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

The name of the algorithm of the key, should be a mnemonic


[View source]
def bits : UInt16? #

The size of the key


[View source]
def bits? : UInt16 | Nil? #

The size of the key


[View source]
def dnskey : String? #

The DNSKEY record for this key


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

The DNSKEY record for this key


[View source]
def ds : Array(String)? #

An array of DS records for this key


[View source]
def ds? : Array(String) | Nil? #

An array of DS records for this key


[View source]
def id : Int32? #

The internal identifier, read only


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

The internal identifier, read only


[View source]
def key_type : String? #

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

[View source]
def private_key : String? #

[View source]
def published? : Bool? #

Whether or not the DNSKEY record is published in the zone


[View source]
def type : String? #

set to "Cryptokey"


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

set to "Cryptokey"


[View source]