Пример #1
0
    def set_subject(self, name):
        """
        Set subject name.

        @type name:     X509_Name
        @param name:    subjectName field.
        """
        assert m2.x509_type_check(self.x509), "'x509' type error"
        return m2.x509_set_subject_name(self.x509, name.x509_name)
Пример #2
0
    def set_subject(self, name):
        """
        Set subject name.

        @type name:     X509_Name
        @param name:    subjectName field.
        """
        assert m2.x509_type_check(self.x509), "'x509' type error"
        return m2.x509_set_subject_name(self.x509, name.x509_name)
Пример #3
0
 def set_subject_name(self, name):
     assert m2.x509_type_check(self.x509), "'x509' type error"
     return m2.x509_set_subject_name(self.x509, name.x509_name)
Пример #4
0
 def set_subject_name(self, name):
     assert m2.x509_type_check(self.x509), "'x509' type error"
     return m2.x509_set_subject_name(self.x509, name.x509_name)