CryptoKey
class CryptoKey (View source)
A DNSSEC key of a zone: id, type (ksk/zsk/csk), size, algorithm, active flag, DNSKEY and DS records.
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
The algorithm number of the DNSKEY record, or 0 without one.
Whether the DNSKEY carries the SEP flag (257), or null without a readable one.
The key tag of the DNSKEY record (RFC 4034, appendix B), or 0 without a readable one. Computed rather than read off a DS record, which a ZSK lacks.
Details
__construct(int|null $id, string|null $type = null, int|null $size = null, string|null $algorithm = null, bool $isActive = false, string|null $dnskey = null, array|null $ds = null)
No description
int|null
getId()
No description
string|null
getType()
No description
int|null
getSize()
No description
string|null
getAlgorithm()
No description
bool
isActive()
No description
void
activate()
No description
void
deactivate()
No description
string|null
getDnskey()
No description
array
getDs()
No description
int
getAlgorithmId()
The algorithm number of the DNSKEY record, or 0 without one.
bool|null
isSecureEntryPoint()
Whether the DNSKEY carries the SEP flag (257), or null without a readable one.
PowerDNS stores only this; it derives ksk/zsk/csk from the other active keys on every read.
int
getKeyTag()
The key tag of the DNSKEY record (RFC 4034, appendix B), or 0 without a readable one. Computed rather than read off a DS record, which a ZSK lacks.