def expiration(self):
"""return the key's expiration date
- :returns: (uint32_t) the experiration date
+ :returns: (uint32_t) the expiration date
"""
return _ldns.ldns_key_expiration(self)
#parameters: const ldns_key *,
def rrsig_set_expiration(self, f):
"""
- Sets the expireation date of a LDNS_RR_TYPE_RRSIG rr.
+ Sets the expiration date of a LDNS_RR_TYPE_RRSIG rr.
- :param f: The expireation date to set.
+ :param f: The expiration date to set.
:type f: :class:`ldns_rdf`
:throws TypeError: when `f` of non-:class:`ldns_rdf` type.
:return: (bool) True on success, False otherwise.
\fBldns-rrsig\fR is used to print the expiration and inception date of
a RRSIG. The first argument is a domain name. \fBldns-rrsig\fR will
query the authoritative servers for that domain to get a list of RRSIGs.
-It will then print out the inception and experiration dates for the RRSIG
+It will then print out the inception and expiration dates for the RRSIG
covering the SOA record.
.PP
If the second argument \fBtype\fR is given the RRSIG covering that type will be shown.
/**
* return the key's expiration date
* \param[in] k the key
- * \return the experiration date
+ * \return the expiration date
*/
uint32_t ldns_key_expiration(const ldns_key *k);
/**
*/
ldns_rdf* ldns_rr_rrsig_expiration(const ldns_rr *r);
/**
- * sets the expireation date of a LDNS_RR_TYPE_RRSIG rr
+ * sets the expiration date of a LDNS_RR_TYPE_RRSIG rr
* \param[in] r the rr to use
- * \param[in] f the expireation date to set
+ * \param[in] f the expiration date to set
* \return true on success, false otherwise
*/
bool ldns_rr_rrsig_set_expiration(ldns_rr *r, ldns_rdf *f);