pki.services.truststoreΒΆ

Business logic for truststore operations.

ClassesΒΆ

TruststoreService

Service class for managing Truststore objects.

Module ContentsΒΆ

class pki.services.truststore.TruststoreService[source]ΒΆ

Service class for managing Truststore objects.

get_all()[source]ΒΆ

Retrieve Truststore from the database.

Return type:

django.db.models.query.QuerySet[pki.models.truststore.TruststoreModel]

create(unique_name, intended_usage, trust_store_file)[source]ΒΆ

Create a new Truststore instance.

Parameters:
  • unique_name (str)

  • intended_usage (str)

  • trust_store_file (bytes)

Return type:

pki.models.truststore.TruststoreModel