def validate_config(self, imageinfo):

        self._validate_config(imageinfo.cert_config,
                              imageinfo.general_properties)

        BaseSigner._validate_oid_values(self, imageinfo.signing_attributes,
                                        imageinfo.general_properties)
Пример #2
0
    def validate_config(self, imageinfo):
        cass_signer_attributes = self.config.signing.signer_attributes.cass_signer_attributes
        self._validate_config(cass_signer_attributes)

        BaseSigner._validate_oid_values(self, imageinfo.signing_attributes,
                                    imageinfo.general_properties,
                                    mandatory = False)
    def validate_config(self, imageinfo):
        openssl_config_file_paths = self.config.signing.signer_attributes.local_signer_attributes.openssl_config_inputs

        self._validate_config(imageinfo.cert_config,
                              imageinfo.general_properties,
                              openssl_config_file_paths)

        BaseSigner._validate_oid_values(self, imageinfo.signing_attributes,
                                        imageinfo.general_properties)