signer.models ============= .. py:module:: signer.models .. autoapi-nested-parse:: Contains Models For Signers App. Module Contents --------------- .. py:class:: SignerModel(*args, **kwargs) Bases: :py:obj:`util.db.CustomDeleteActionModel` Contains fields for signer model. .. py:attribute:: unique_name .. py:attribute:: credential .. py:attribute:: is_active .. py:attribute:: created_at .. py:attribute:: updated_at .. py:property:: common_name :type: str Returns common name. .. py:property:: signature_suite :type: trustpoint_core.oid.SignatureSuite The signature suite for the CA public key certificate. .. py:property:: public_key_info :type: trustpoint_core.oid.PublicKeyInfo The public key info for the CA certificate's public key. .. py:property:: hash_algorithm :type: str Returns the hash algorithm name used by this signer's certificate. .. py:method:: create_new_signer(unique_name, credential_serializer) :classmethod: Create a new SignerModel instance. .. py:class:: SignedMessageModel(*args, **kwargs) Bases: :py:obj:`django.db.models.Model` Model to store signed messages, its signature and certificate(with public key). .. py:attribute:: signer .. py:attribute:: hash_value .. py:attribute:: signature .. py:attribute:: created_at