(self, filename, fmt="DER")
Export certificate in 'fmt' format (PEM, DER or TXT) to file 'filename'
Export certificate in 'fmt' format (PEM, DER or TXT) to file 'filename'
Export certificate in fmt format ( PEM DER or TXT ) to file filename
def export(self, filename, fmt="DER"):
        """
        Export certificate in 'fmt' format (PEM, DER or TXT) to file 'filename'
        """
        f = open(filename, "wb")
        f.write(self.output(fmt))
        f.close()
def export ( self , filename , fmt = "DER" ) : f = open ( filename , "wb" ) f . write ( self . output ( fmt ) ) f . close ( )