pki.signalsΒΆ
Django signals for PKI models.
Package ContentsΒΆ
- pki.signals.schedule_next_crl_after_generation(sender, instance, *, created, **kwargs)[source]ΒΆ
Schedule the next CRL generation after a CRL is created.
- Parameters:
sender (type[pki.models.CrlModel]) β The model class.
instance (pki.models.CrlModel) β The CrlModel instance.
created (bool) β Whether the instance was created.
**kwargs (Any) β Additional keyword arguments.
- Return type:
None
- pki.signals.schedule_crl_on_cycle_enable(sender, instance, *, created, update_fields, **kwargs)[source]ΒΆ
Schedule CRL generation when CRL cycle is enabled on a CA.
- Parameters:
sender (type[pki.models.CaModel]) β The model class.
instance (pki.models.CaModel) β The CaModel instance.
created (bool) β Whether the instance was created.
update_fields (set[str] | None) β The fields that were updated.
**kwargs (Any) β Additional keyword arguments.
- Return type:
None
- pki.signals.schedule_crl_after_revocation(sender, instance, *, created, **kwargs)[source]ΒΆ
Schedule CRL generation after a certificate is revoked.
- Parameters:
sender (type[pki.models.RevokedCertificateModel]) β The model class.
instance (pki.models.RevokedCertificateModel) β The RevokedCertificateModel instance.
created (bool) β Whether the instance was created.
**kwargs (Any) β Additional keyword arguments.
- Return type:
None