pki.views.issuing_casΒΆ
Views for Issuing CA management.
ClassesΒΆ
Mixin which adds context_data for the PKI -> Issuing CAs pages. |
|
Mixin which adds context_data for the PKI -> Keyless CAs pages. |
|
Issuing CA Table View. |
|
View to select the method to add an Issuing CA. |
|
View to import an Issuing CA from a PKCS12 file. |
|
View to import an Issuing CA from separate PEM files. |
|
View to display the details of an Issuing CA. |
|
View to display the details of a Keyless CA. |
|
View to display all certificates issued by a specific Issuing CA. |
|
Detail view for an Issuing CA. |
|
View to confirm the deletion of multiple Issuing CAs. |
|
View to manually generate a CRL for an Issuing CA. |
|
Unauthenticated view to download the certificate revocation list of any CA. |
|
ViewSet for managing Issuing CA instances via REST API. |
Module ContentsΒΆ
- class pki.views.issuing_cas.IssuingCaContextMixin[source]ΒΆ
Bases:
trustpoint.views.base.ContextDataMixinMixin which adds context_data for the PKI -> Issuing CAs pages.
- class pki.views.issuing_cas.KeylessCaContextMixin[source]ΒΆ
Bases:
trustpoint.views.base.ContextDataMixinMixin which adds context_data for the PKI -> Keyless CAs pages.
- class pki.views.issuing_cas.IssuingCaTableView[source]ΒΆ
Bases:
IssuingCaContextMixin,trustpoint.views.base.SortableTableMixin[pki.models.CaModel],django.views.generic.list.ListView[pki.models.CaModel]Issuing CA Table View.
- get_queryset()[source]ΒΆ
Return only issuing CAs.
- Return type:
django.db.models.QuerySet[pki.models.CaModel, pki.models.CaModel]
- class pki.views.issuing_cas.IssuingCaAddMethodSelectView[source]ΒΆ
Bases:
IssuingCaContextMixin,django.views.generic.edit.FormView[pki.forms.IssuingCaAddMethodSelectForm]View to select the method to add an Issuing CA.
- class pki.views.issuing_cas.IssuingCaAddFileImportPkcs12View[source]ΒΆ
Bases:
IssuingCaContextMixin,django.views.generic.edit.FormView[pki.forms.IssuingCaAddFileImportPkcs12Form]View to import an Issuing CA from a PKCS12 file.
- class pki.views.issuing_cas.IssuingCaAddFileImportSeparateFilesView[source]ΒΆ
Bases:
IssuingCaContextMixin,django.views.generic.edit.FormView[pki.forms.IssuingCaAddFileImportSeparateFilesForm]View to import an Issuing CA from separate PEM files.
- class pki.views.issuing_cas.IssuingCaConfigView[source]ΒΆ
Bases:
trustpoint.logger.LoggerMixin,IssuingCaContextMixin,django.views.generic.detail.DetailView[pki.models.CaModel]View to display the details of an Issuing CA.
- get_queryset()[source]ΒΆ
Return only issuing CAs.
- Return type:
django.db.models.QuerySet[pki.models.CaModel, pki.models.CaModel]
- class pki.views.issuing_cas.KeylessCaConfigView[source]ΒΆ
Bases:
trustpoint.logger.LoggerMixin,KeylessCaContextMixin,django.views.generic.detail.DetailView[pki.models.CaModel]View to display the details of a Keyless CA.
- get_queryset()[source]ΒΆ
Return only keyless CAs.
- Return type:
django.db.models.QuerySet[pki.models.CaModel, pki.models.CaModel]
- class pki.views.issuing_cas.IssuedCertificatesListView[source]ΒΆ
Bases:
IssuingCaContextMixin,django.views.generic.list.ListView[pki.models.CertificateModel]View to display all certificates issued by a specific Issuing CA.
- get_queryset()[source]ΒΆ
Gets the required and filtered QuerySet.
- Returns:
The filtered QuerySet.
- Return type:
django.db.models.QuerySet[pki.models.CertificateModel, pki.models.CertificateModel]
- class pki.views.issuing_cas.IssuingCaDetailView[source]ΒΆ
Bases:
IssuingCaContextMixin,django.views.generic.detail.DetailView[pki.models.CaModel]Detail view for an Issuing CA.
- get_queryset()[source]ΒΆ
Return only issuing CAs.
- Return type:
django.db.models.QuerySet[pki.models.CaModel, pki.models.CaModel]
- class pki.views.issuing_cas.IssuingCaBulkDeleteConfirmView[source]ΒΆ
Bases:
IssuingCaContextMixin,trustpoint.views.base.BulkDeleteViewView to confirm the deletion of multiple Issuing CAs.
- get(request, *args, **kwargs)[source]ΒΆ
Handle GET requests.
- Parameters:
request (django.http.HttpRequest)
args (Any)
kwargs (Any)
- Return type:
django.http.HttpResponse
- get_queryset()[source]ΒΆ
Return only issuing CAs.
- Return type:
django.db.models.QuerySet[pki.models.CaModel, pki.models.CaModel]
- class pki.views.issuing_cas.IssuingCaCrlGenerationView[source]ΒΆ
Bases:
IssuingCaContextMixin,django.views.generic.detail.DetailView[pki.models.CaModel]View to manually generate a CRL for an Issuing CA.
- get_queryset()[source]ΒΆ
Return only issuing CAs.
- Return type:
django.db.models.QuerySet[pki.models.CaModel, pki.models.CaModel]
- class pki.views.issuing_cas.CrlDownloadView[source]ΒΆ
Bases:
IssuingCaContextMixin,django.views.generic.detail.DetailView[pki.models.CaModel]Unauthenticated view to download the certificate revocation list of any CA.
- get_queryset()[source]ΒΆ
Return all CAs.
- Return type:
django.db.models.QuerySet[pki.models.CaModel, pki.models.CaModel]
- class pki.views.issuing_cas.IssuingCaViewSet(**kwargs)[source]ΒΆ
Bases:
trustpoint.logger.LoggerMixin,rest_framework.viewsets.ReadOnlyModelViewSet[pki.models.CaModel]ViewSet for managing Issuing CA instances via REST API.
- list(_request, *_args, **_kwargs)[source]ΒΆ
API endpoint to get all Issuing CAs.
- Parameters:
_request (django.http.HttpRequest)
_args (Any)
_kwargs (Any)
- Return type:
rest_framework.response.Response
- retrieve(request, *args, **kwargs)[source]ΒΆ
API endpoint to get a single Issuing CA by ID.
- Parameters:
request (django.http.HttpRequest)
args (Any)
kwargs (Any)
- Return type:
rest_framework.response.Response