'Serialize the object into a dictionary.'

def dump(self):

    result = {'privatekey': self.privatekey_path, 'filename': self.path, 'subject': self.subject, 'subjectAltName': self.subjectAltName, 'keyUsage': self.keyUsage, 'extendedKeyUsage': self.extendedKeyUsage, 'changed': self.changed}
    return result
