X-Git-Url: https://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fpkey.py;h=85b831d96c870a8e140cecf9f88b1ee00890a6f7;hb=26cea2b5ab48f099b08a1cde56cf1bec0062a584;hp=59a53486f9f62e877cf1748fc5e6c83f5f15a063;hpb=4367362775bc1936c63cb0bff16a71affc31f8a2;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/pkey.py b/ctypescrypto/pkey.py index 59a5348..85b831d 100644 --- a/ctypescrypto/pkey.py +++ b/ctypescrypto/pkey.py @@ -30,7 +30,7 @@ def password_callback(buf,length,rwflag,u): _cb=CALLBACK_FUNC(password_callback) -class PKey: +class PKey(object): def __init__(self,ptr=None,privkey=None,pubkey=None,format="PEM",cansign=False,password=None): if not ptr is None: self.key=ptr