package model type DKIMAlgorithmType string var ( // Verifiers MUST be able to validate signatures with keys ranging from 1024 bits to 4096 bits. // https://datatracker.ietf.org/doc/html/rfc8301 DKIMAlgorithmRSA2048 DKIMAlgorithmType = "rsa-2048" DKIMAlgorithmRSA4096 DKIMAlgorithmType = "rsa-4096" // https://datatracker.ietf.org/doc/html/rfc8463 DKIMAlgorithmEd25519 DKIMAlgorithmType = "ed25519-sha256" ) type DKIM struct { ID int Domain, Selector, BlobAddress string KeyType DKIMAlgorithmType Enabled bool }