CERTRecordValidator
class CERTRecordValidator implements DnsRecordValidatorInterface (View source)
CERT record validator
CERT records store certificates in the DNS as defined in RFC 4398.
The format is:
- type: Certificate type (1-PKIX, 2-SPKI, 3-PGP, 4-IPKIX, 5-ISPKI, 6-IPGP, 7-ACPKIX, 8-IACPKIX, 253-URI, 254-OID)
- key-tag: 16-bit key tag computed from the certificate's key (0-65535)
- algorithm: Cryptographic algorithm number (1-16 as defined in RFC 8624)
- certificate-data: Base64-encoded certificate data or URI when type indicates a URL format
Methods
validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)
Validates CERT record content
Details
__construct(ConfigurationManager $config)
No description
ValidationResult
validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)
Validates CERT record content