예제 #1
0
 def as_text(self):
     # type: () -> str
     buf = BIO.MemoryBuffer()
     m2.x509_req_print(buf.bio_ptr(), self.req)
     return util.py3str(buf.read_all())
예제 #2
0
파일: X509.py 프로젝트: mcepl/M2Crypto
 def as_text(self):
     # type: () -> str
     buf = BIO.MemoryBuffer()
     m2.x509_req_print(buf.bio_ptr(), self.req)
     return six.ensure_text(buf.read_all())
예제 #3
0
 def as_text(self):
     buf = BIO.MemoryBuffer()
     m2.x509_req_print(buf.bio_ptr(), self.req)
     return buf.read_all()
예제 #4
0
파일: X509.py 프로젝트: rodrigc/m2crypto
 def as_text(self):
     buf = BIO.MemoryBuffer()
     m2.x509_req_print(buf.bio_ptr(), self.req)
     return buf.read_all()