Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 02f63b07

Přidáno uživatelem Stanislav Král před asi 4 roky(ů)

Re #8472 - Changed order of create_sscrt method parameters

Zobrazit rozdíly:

proj/services/cryptography.py
86 86
            return self.__run_for_output(
87 87
                ["genrsa", PRIVATE_KEY_ENCRYPTION_METHOD, "-passout", f"pass:{passphrase}", "2048"]).decode()
88 88

  
89
    def create_sscrt(self, key, subject, config="", extensions="", key_pass=None):
89
    def create_sscrt(self, subject, key, config="", extensions="", key_pass=None):
90 90
        """
91 91
        Creates a root CA
92 92

  
93
        :param key: private key of the CA to be used
94 93
        :param subject: an instance of <Subject> representing the subject to be added to the certificate
94
        :param key: private key of the CA to be used
95 95
        :param config: string containing the configuration to be used
96 96
        :param extensions: name of the section in the configuration representing extensions
97 97
        :param key_pass: passphrase of the private key

Také k dispozici: Unified diff