Lines Matching defs:os
10 # or http://www.opensolaris.org/os/licensing.
27 import os
35 self.base_dir = os.path.abspath(base_dir)
38 self.cnf_file = os.path.join(self.base_dir, "openssl.cnf")
43 fh = open(os.path.join(self.base_dir, "index"), "w")
46 fh = open(os.path.join(self.base_dir, "serial"), "w")
58 self.keys_dir = os.path.join(self.base_dir, self.keys_loc)
59 self.cs_dir = os.path.join(self.base_dir, self.cs_loc)
60 self.chain_certs_dir = os.path.join(self.base_dir,
62 self.raw_trust_anchor_dir = os.path.join(self.base_dir,
64 self.crl_dir = os.path.join(self.base_dir, self.crl_loc)
66 os.mkdir(self.keys_dir)
67 os.mkdir(self.cs_dir)
68 os.mkdir(self.chain_certs_dir)
69 os.mkdir(self.raw_trust_anchor_dir)
70 os.mkdir(self.crl_dir)
75 assert not os.path.exists(out_pth)
208 os.mkdir("{0}/{1}".format(self.base_dir, name))
217 os.link("{0}/{1}/{2}_cert.pem".format(self.base_dir, name, name),