X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfa%2Ftrust%2Fcertificate.py;fp=sfa%2Ftrust%2Fcertificate.py;h=a0e3a70ef7a76d24259115d39a3d41472815c5bb;hp=d0d36d536ed235b87ff9236f11c5c8a1cc5da403;hb=2b8fb7af76b173ad4ad6583dbedbdf11a49f9549;hpb=c9e68794de46ad75c8d24ccbf946d14bd33f1626 diff --git a/sfa/trust/certificate.py b/sfa/trust/certificate.py index d0d36d53..a0e3a70e 100644 --- a/sfa/trust/certificate.py +++ b/sfa/trust/certificate.py @@ -189,7 +189,6 @@ class Keypair: # public key. def load_from_file(self, filename): - logger.info(f"opening {filename} from certficate.load_from_file") self.filename = filename buffer = open(filename, 'r').read() self.load_from_string(buffer) @@ -358,8 +357,8 @@ class Certificate: # @param create If create==True, then also create a blank X509 certificate. # @param subject If subject!=None, then create a blank certificate and set # it's subject name. - # @param string If string!=None, load the certficate from the string. - # @param filename If filename!=None, load the certficiate from the file. + # @param string If string!=None, load the certificate from the string. + # @param filename If filename!=None, load the certificate from the file. # @param isCA If !=None, set whether this cert is for a CA def __init__(self, lifeDays=1825, create=False, subject=None, string=None, @@ -804,7 +803,7 @@ class Certificate: return result ## - # Set the parent certficiate. + # Set the parent certificate. # # @param p certificate object.