Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias identifier ImportFrom alias identifier alias identifier alias identifier ImportFrom alias identifier alias identifier alias identifier alias identifier alias identifier alias identifier alias identifier Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpPow Num Num Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Slice decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str orelse Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareEq Call AttributeLoad NameLoad attr NameLoad Num body Return NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Expr Call NameLoad Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body If CompareLtE NameLoad Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad Num body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot CompareEq NameLoad Num body Expr Call NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad If NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Return Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad Raise Call NameLoad Str NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr Str body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If CompareIsNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad body Pass Raise Call NameLoad Str For NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Break If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Num Num Num If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad body Pass Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num If CompareEq NameLoad Num body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt NameLoad Num body Expr Call NameLoad TryFinally body Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Slice attr Str finalbody Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad Num decorator_list Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Return BinOpMod Str TupleLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad Num body Expr Call NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Slice Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Num NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad orelse Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Slice Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num If UnaryOpNot NameLoad body Expr Call NameLoad Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Slice decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareLtE NameLoad Num body Expr Call NameLoad Return NameLoad decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index Num Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Return Call AttributeLoad Str attr ListComp Call AttributeLoad Call NameLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore SubscriptLoad Call NameLoad NameLoad Slice Num If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Num Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Return CompareLt NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareLtE NameLoad Num body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If CompareLtE NameLoad Num body Raise Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Raise Call NameLoad Str If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num orelse Raise Call NameLoad Str Assert CompareEq NameLoad Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad If CompareEq NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad If CompareIsNot NameLoad NameLoad body If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Num orelse Raise Call NameLoad Str If CompareEq NameLoad Num body Expr Call NameLoad Return Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr If CompareLt NameLoad Num body Expr Call NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Break decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad ListComp Call AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Num If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Num body Expr Call NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Slice decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr For NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Num body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Expr Call NameLoad Str keyword NameLoad keyword Num Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult BinOpMult BinOpMult NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Return Call NameLoad NameLoad NameLoad decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num Num body Expr Str Assign NameStore Call NameLoad Str NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Num If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareLtE NameLoad Num body Expr Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If BoolOpAnd CompareNotEq NameLoad NameLoad CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr orelse If Call NameLoad AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr orelse If Call NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr orelse If Call NameLoad AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr orelse If Call NameLoad AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Raise SubscriptLoad AttributeLoad NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body TryExcept body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If CompareGt Call NameLoad NameLoad NameLoad body If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Slice NameLoad orelse Raise Call NameLoad Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Num decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Raise Call NameLoad Str If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Raise Call NameLoad Str If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num orelse Raise Call NameLoad Str If CompareEq NameLoad Num body Expr Call NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Raise Call NameLoad Str If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpFloorDiv BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Expr Call NameLoad Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Slice decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad NameLoad If CompareNotEq NameLoad Num body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Raise Call NameLoad Str Assert CompareEq NameLoad Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Raise Call NameLoad Str If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Expr Call NameLoad Raise Call NameLoad Str If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Str NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad body Pass If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Slice If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str
N/A N/A datetime base64 b16encode functools partial operator __eq__ __ne__ __lt__ __le__ __gt__ __ge__ warnings warn _warn six integer_types _integer_types text_type _text_type PY3 _PY3 OpenSSL._util ffi _ffi lib _lib exception_from_error_queue _exception_from_error_queue byte_string _byte_string native _native UNSPECIFIED _UNSPECIFIED text_to_bytes_and_warn _text_to_bytes_and_warn N/A FILETYPE_PEM N/A _lib SSL_FILETYPE_PEM N/A FILETYPE_ASN1 N/A _lib SSL_FILETYPE_ASN1 N/A FILETYPE_TEXT N/A N/A 2 16 1 N/A TYPE_RSA N/A _lib EVP_PKEY_RSA N/A TYPE_DSA N/A _lib EVP_PKEY_DSA Error N/A Exception N/A N/A 
    An error occurred in an `OpenSSL.crypto` API.
     N/A N/A _raise_current_error N/A partial _exception_from_error_queue Error _untested_error N/A N/A where N/A N/A N/A 
    An OpenSSL API failed somehow.  Additionally, the failure which was
    encountered isn't one that's exercised by the test suite so future behavior
    of pyOpenSSL is now somewhat less predictable.
     N/A N/A RuntimeError N/A Unknown %s failure N/A where N/A _new_mem_buf N/A N/A buffer N/A None N/A N/A 
    Allocate a new OpenSSL memory BIO.

    Arrange for the garbage collector to clean it up automatically.

    :param buffer: None or some bytes to use to put into the BIO so that they
        can be read out.
     N/A N/A buffer None N/A N/A bio N/A N/A _lib BIO_new N/A N/A _lib BIO_s_mem N/A free N/A _lib BIO_free N/A N/A data N/A N/A _ffi new char[] buffer N/A bio N/A N/A _lib BIO_new_mem_buf data N/A len buffer free N/A N/A bio ref N/A data N/A N/A N/A N/A _lib BIO_free bio N/A N/A N/A bio N/A _ffi NULL N/A N/A N/A _raise_current_error N/A bio N/A N/A _ffi gc bio free N/A bio N/A _bio_to_string N/A N/A bio N/A N/A N/A 
    Copy the contents of an OpenSSL BIO object into a Python byte string.
     N/A result_buffer N/A N/A _ffi new char** N/A buffer_length N/A N/A _lib BIO_get_mem_data bio result_buffer N/A N/A N/A N/A _ffi buffer N/A result_buffer N/A 0 buffer_length N/A N/A _set_asn1_time N/A N/A boundary when N/A N/A N/A 
    The the time value of an ASN1 time object.

    @param boundary: An ASN1_GENERALIZEDTIME pointer (or an object safely
        castable to that type) which will have its value set.
    @param when: A string representation of the desired time value.

    @raise TypeError: If C{when} is not a L{bytes} string.
    @raise ValueError: If C{when} does not represent a time in the required
        format.
    @raise RuntimeError: If the time value cannot be set for some other
        (unspecified) reason.
     N/A N/A N/A isinstance when bytes N/A N/A N/A TypeError when must be a byte string N/A set_result N/A N/A _lib ASN1_GENERALIZEDTIME_set_string N/A N/A _ffi cast ASN1_GENERALIZEDTIME* boundary when N/A N/A set_result 0 N/A N/A dummy N/A N/A _ffi gc N/A N/A _lib ASN1_STRING_new N/A _lib ASN1_STRING_free N/A N/A N/A _lib ASN1_STRING_set dummy when N/A len when N/A check_result N/A N/A _lib ASN1_GENERALIZEDTIME_check N/A N/A _ffi cast ASN1_GENERALIZEDTIME* dummy N/A N/A check_result N/A N/A N/A ValueError Invalid string N/A N/A N/A _untested_error N/A _get_asn1_time N/A N/A timestamp N/A N/A N/A 
    Retrieve the time value of an ASN1 time object.

    @param timestamp: An ASN1_GENERALIZEDTIME* (or an object safely castable to
        that type) from which the time value will be retrieved.

    @return: The time value from C{timestamp} as a L{bytes} string in a certain
        format.  Or C{None} if the object contains no time value.
     N/A string_timestamp N/A N/A _ffi cast ASN1_STRING* timestamp N/A N/A N/A N/A _lib ASN1_STRING_length string_timestamp 0 N/A N/A None N/A N/A N/A N/A N/A _lib ASN1_STRING_type string_timestamp N/A _lib V_ASN1_GENERALIZEDTIME N/A N/A N/A N/A _ffi string N/A N/A _lib ASN1_STRING_data string_timestamp N/A N/A generalized_timestamp N/A N/A _ffi new ASN1_GENERALIZEDTIME** N/A N/A N/A _lib ASN1_TIME_to_generalizedtime timestamp generalized_timestamp N/A N/A N/A generalized_timestamp N/A 0 N/A _ffi NULL N/A N/A N/A _untested_error ASN1_TIME_to_generalizedtime N/A N/A string_timestamp N/A N/A _ffi cast ASN1_STRING* N/A generalized_timestamp N/A 0 N/A string_data N/A N/A _lib ASN1_STRING_data string_timestamp N/A string_result N/A N/A _ffi string string_data N/A N/A N/A _lib ASN1_GENERALIZEDTIME_free N/A generalized_timestamp N/A 0 N/A string_result N/A PKey N/A object N/A N/A 
    A class representing an DSA or RSA public key or key pair.
     N/A _only_public False N/A _initialized True __init__ N/A N/A self N/A N/A N/A pkey N/A N/A _lib EVP_PKEY_new N/A N/A self _pkey N/A N/A _ffi gc pkey N/A _lib EVP_PKEY_free N/A N/A self _initialized False N/A generate_key N/A N/A self type bits N/A N/A N/A 
        Generate a key pair of the given type, with the given number of bits.

        This generates a key "into" the this object.

        :param type: The key type.
        :type type: :py:data:`TYPE_RSA` or :py:data:`TYPE_DSA`
        :param bits: The number of bits.
        :type bits: :py:data:`int` ``>= 0``
        :raises TypeError: If :py:data:`type` or :py:data:`bits` isn't
            of the appropriate type.
        :raises ValueError: If the number of bits isn't an integer of
            the appropriate size.
        :return: :py:const:`None`
         N/A N/A N/A isinstance type int N/A N/A N/A TypeError type must be an integer N/A N/A N/A isinstance bits int N/A N/A N/A TypeError bits must be an integer N/A exponent N/A N/A _lib BN_new N/A exponent N/A N/A _ffi gc exponent N/A _lib BN_free N/A N/A N/A _lib BN_set_word exponent N/A _lib RSA_F4 N/A N/A type TYPE_RSA N/A N/A N/A bits 0 N/A N/A N/A ValueError Invalid number of bits N/A rsa N/A N/A _lib RSA_new N/A result N/A N/A _lib RSA_generate_key_ex rsa bits exponent N/A _ffi NULL N/A N/A result 0 N/A N/A N/A _raise_current_error N/A result N/A N/A _lib EVP_PKEY_assign_RSA N/A self _pkey rsa N/A N/A result N/A N/A N/A _raise_current_error N/A N/A N/A type TYPE_DSA N/A N/A dsa N/A N/A _lib DSA_new N/A N/A dsa N/A _ffi NULL N/A N/A N/A _raise_current_error N/A dsa N/A N/A _ffi gc dsa N/A _lib DSA_free N/A res N/A N/A _lib DSA_generate_parameters_ex dsa bits N/A _ffi NULL 0 N/A _ffi NULL N/A _ffi NULL N/A _ffi NULL N/A N/A N/A res 1 N/A N/A N/A _raise_current_error N/A N/A N/A N/A _lib DSA_generate_key dsa N/A N/A N/A _raise_current_error N/A N/A N/A N/A _lib EVP_PKEY_set1_DSA N/A self _pkey dsa N/A N/A N/A _raise_current_error N/A N/A N/A Error No such key type N/A N/A self _initialized True N/A check N/A N/A self N/A N/A N/A 
        Check the consistency of an RSA private key.

        This is the Python equivalent of OpenSSL's ``RSA_check_key``.

        :return: True if key is consistent.
        :raise Error: if the key is inconsistent.
        :raise TypeError: if the key is of a type which cannot be checked.
            Only RSA keys can currently be checked.
         N/A N/A self _only_public N/A N/A N/A TypeError public key only N/A N/A N/A N/A _lib EVP_PKEY_type N/A N/A self type N/A _lib EVP_PKEY_RSA N/A N/A N/A TypeError key type unsupported N/A rsa N/A N/A _lib EVP_PKEY_get1_RSA N/A self _pkey N/A rsa N/A N/A _ffi gc rsa N/A _lib RSA_free N/A result N/A N/A _lib RSA_check_key rsa N/A result N/A N/A True N/A N/A _raise_current_error N/A type N/A N/A self N/A N/A N/A 
        Returns the type of the key

        :return: The type of the key.
         N/A N/A N/A _lib Cryptography_EVP_PKEY_id N/A self _pkey N/A bits N/A N/A self N/A N/A N/A 
        Returns the number of bits of the key

        :return: The number of bits of the key.
         N/A N/A N/A _lib EVP_PKEY_bits N/A self _pkey N/A N/A N/A PKeyType PKey _EllipticCurve N/A object N/A N/A 
    A representation of a supported elliptic curve.

    @cvar _curves: :py:obj:`None` until an attempt is made to load the curves.
        Thereafter, a :py:type:`set` containing :py:type:`_EllipticCurve`
        instances each of which represents one curve supported by the system.
    @type _curves: :py:type:`NoneType` or :py:type:`set`
     N/A _curves None N/A _PY3 N/A __ne__ N/A N/A self other N/A N/A N/A 
            Implement cooperation with the right-hand side argument of ``!=``.

            Python 3 seems to have dropped this cooperation in this very narrow
            circumstance.
             N/A N/A isinstance other _EllipticCurve N/A N/A N/A N/A N/A super _EllipticCurve self __ne__ other N/A NotImplemented N/A _load_elliptic_curves N/A N/A cls lib N/A N/A N/A 
        Get the curves supported by OpenSSL.

        :param lib: The OpenSSL library binding object.

        :return: A :py:type:`set` of ``cls`` instances giving the names of the
            elliptic curves the underlying library supports.
         N/A N/A lib Cryptography_HAS_EC N/A N/A num_curves N/A N/A lib EC_get_builtin_curves N/A _ffi NULL 0 N/A builtin_curves N/A N/A _ffi new EC_builtin_curve[] num_curves N/A N/A N/A lib EC_get_builtin_curves builtin_curves num_curves N/A N/A set N/A N/A N/A cls from_nid lib N/A c nid N/A c builtin_curves N/A N/A set N/A classmethod _get_elliptic_curves N/A N/A cls lib N/A N/A N/A 
        Get, cache, and return the curves supported by OpenSSL.

        :param lib: The OpenSSL library binding object.

        :return: A :py:type:`set` of ``cls`` instances giving the names of the
            elliptic curves the underlying library supports.
         N/A N/A N/A cls _curves None N/A N/A N/A cls _curves N/A N/A cls _load_elliptic_curves lib N/A N/A cls _curves N/A classmethod from_nid N/A N/A cls lib nid N/A N/A N/A 
        Instantiate a new :py:class:`_EllipticCurve` associated with the given
        OpenSSL NID.

        :param lib: The OpenSSL library binding object.

        :param nid: The OpenSSL NID the resulting curve object will represent.
            This must be a curve NID (and not, for example, a hash NID) or
            subsequent operations will fail in unpredictable ways.
        :type nid: :py:class:`int`

        :return: The curve object.
         N/A N/A cls lib nid N/A N/A N/A N/A _ffi string N/A N/A lib OBJ_nid2sn nid decode ascii N/A classmethod __init__ N/A N/A self lib nid name N/A N/A N/A 
        :param _lib: The :py:mod:`cryptography` binding instance used to
            interface with OpenSSL.

        :param _nid: The OpenSSL NID identifying the curve this object
            represents.
        :type _nid: :py:class:`int`

        :param name: The OpenSSL short name identifying the curve this object
            represents.
        :type name: :py:class:`unicode`
         N/A N/A self _lib lib N/A N/A self _nid nid N/A N/A self name name N/A __repr__ N/A N/A self N/A N/A N/A N/A <Curve %r> N/A N/A self name N/A _to_EC_KEY N/A N/A self N/A N/A N/A 
        Create a new OpenSSL EC_KEY structure initialized to use this curve.

        The structure is automatically garbage collected when the Python object
        is garbage collected.
         N/A key N/A N/A N/A self _lib EC_KEY_new_by_curve_name N/A self _nid N/A N/A N/A _ffi gc key N/A _lib EC_KEY_free N/A N/A get_elliptic_curves N/A N/A N/A N/A N/A 
    Return a set of objects representing the elliptic curves supported in the
    OpenSSL build in use.

    The curve objects have a :py:class:`unicode` ``name`` attribute by which
    they identify themselves.

    The curve objects are useful as values for the argument accepted by
    :py:meth:`Context.set_tmp_ecdh` to specify which elliptical curve should be
    used for ECDHE key exchange.
     N/A N/A N/A _EllipticCurve _get_elliptic_curves _lib N/A get_elliptic_curve N/A N/A name N/A N/A N/A 
    Return a single curve object selected by name.

    See :py:func:`get_elliptic_curves` for information about curve objects.

    :param name: The OpenSSL short name identifying the curve object to
        retrieve.
    :type name: :py:class:`unicode`

    If the named curve is not supported then :py:class:`ValueError` is raised.
     N/A curve N/A get_elliptic_curves N/A N/A N/A N/A curve name name N/A N/A curve N/A N/A ValueError unknown curve name name N/A X509Name N/A object N/A N/A 
    An X.509 Distinguished Name.

    :ivar countryName: The country of the entity.
    :ivar C: Alias for  :py:attr:`countryName`.

    :ivar stateOrProvinceName: The state or province of the entity.
    :ivar ST: Alias for :py:attr:`stateOrProvinceName`.

    :ivar localityName: The locality of the entity.
    :ivar L: Alias for :py:attr:`localityName`.

    :ivar organizationName: The organization name of the entity.
    :ivar O: Alias for :py:attr:`organizationName`.

    :ivar organizationalUnitName: The organizational unit of the entity.
    :ivar OU: Alias for :py:attr:`organizationalUnitName`

    :ivar commonName: The common name of the entity.
    :ivar CN: Alias for :py:attr:`commonName`.

    :ivar emailAddress: The e-mail address of the entity.
     __init__ N/A N/A self name N/A N/A N/A 
        Create a new X509Name, copying the given X509Name instance.

        :param name: The name to copy.
        :type name: :py:class:`X509Name`
         N/A name N/A N/A _lib X509_NAME_dup N/A name _name N/A N/A self _name N/A N/A _ffi gc name N/A _lib X509_NAME_free N/A __setattr__ N/A N/A self name value N/A N/A N/A N/A N/A name startswith _ N/A N/A N/A N/A N/A super X509Name self __setattr__ name value N/A N/A N/A type name str N/A N/A N/A TypeError N/A attribute name must be string, not '%.200s' N/A N/A N/A type value __name__ N/A nid N/A N/A _lib OBJ_txt2nid N/A _byte_string name N/A N/A nid N/A _lib NID_undef N/A N/A N/A N/A N/A _raise_current_error N/A N/A N/A Error N/A N/A N/A N/A AttributeError No such attribute N/A i N/A range N/A N/A _lib X509_NAME_entry_count N/A self _name N/A N/A ent N/A N/A _lib X509_NAME_get_entry N/A self _name i N/A ent_obj N/A N/A _lib X509_NAME_ENTRY_get_object ent N/A ent_nid N/A N/A _lib OBJ_obj2nid ent_obj N/A N/A nid ent_nid N/A N/A ent N/A N/A _lib X509_NAME_delete_entry N/A self _name i N/A N/A N/A _lib X509_NAME_ENTRY_free ent N/A N/A N/A isinstance value _text_type N/A N/A value N/A N/A value encode utf-8 N/A add_result N/A N/A _lib X509_NAME_add_entry_by_NID N/A self _name nid N/A _lib MBSTRING_UTF8 value -1 -1 0 N/A N/A add_result N/A N/A N/A _raise_current_error N/A __getattr__ N/A N/A self name N/A N/A N/A 
        Find attribute. An X509Name object has the following attributes:
        countryName (alias C), stateOrProvince (alias ST), locality (alias L),
        organization (alias O), organizationalUnit (alias OU), commonName
        (alias CN) and more...
         N/A nid N/A N/A _lib OBJ_txt2nid N/A _byte_string name N/A N/A nid N/A _lib NID_undef N/A N/A N/A N/A N/A _raise_current_error N/A N/A N/A Error N/A N/A N/A N/A N/A N/A super X509Name self __getattr__ name N/A entry_index N/A N/A _lib X509_NAME_get_index_by_NID N/A self _name nid -1 N/A N/A entry_index -1 N/A N/A None N/A entry N/A N/A _lib X509_NAME_get_entry N/A self _name entry_index N/A data N/A N/A _lib X509_NAME_ENTRY_get_data entry N/A result_buffer N/A N/A _ffi new unsigned char** N/A data_length N/A N/A _lib ASN1_STRING_to_UTF8 result_buffer data N/A N/A data_length 0 N/A N/A N/A _raise_current_error N/A N/A N/A result N/A N/A N/A N/A N/A _ffi buffer N/A result_buffer N/A 0 data_length N/A decode utf-8 N/A N/A N/A N/A _lib OPENSSL_free N/A result_buffer N/A 0 N/A result N/A _cmp N/A N/A op N/A N/A f N/A N/A self other N/A N/A N/A N/A N/A isinstance other X509Name N/A N/A NotImplemented N/A result N/A N/A _lib X509_NAME_cmp N/A self _name N/A other _name N/A N/A op result 0 N/A N/A f N/A N/A __eq__ N/A _cmp __eq__ N/A __ne__ N/A _cmp __ne__ N/A __lt__ N/A _cmp __lt__ N/A __le__ N/A _cmp __le__ N/A __gt__ N/A _cmp __gt__ N/A __ge__ N/A _cmp __ge__ __repr__ N/A N/A self N/A N/A N/A 
        String representation of an X509Name
         N/A result_buffer N/A N/A _ffi new char[] 512 N/A format_result N/A N/A _lib X509_NAME_oneline N/A self _name result_buffer N/A len result_buffer N/A N/A format_result N/A _ffi NULL N/A N/A N/A _raise_current_error N/A N/A <X509Name object '%s'> N/A N/A _native N/A N/A _ffi string result_buffer N/A hash N/A N/A self N/A N/A N/A 
        Return an integer representation of the first four bytes of the
        MD5 digest of the DER representation of the name.

        This is the Python equivalent of OpenSSL's ``X509_NAME_hash``.

        :return: The (integer) hash of this name.
        :rtype: :py:class:`int`
         N/A N/A N/A _lib X509_NAME_hash N/A self _name N/A der N/A N/A self N/A N/A N/A 
        Return the DER encoding of this name.

        :return: The DER encoded form of this name.
        :rtype: :py:class:`bytes`
         N/A result_buffer N/A N/A _ffi new unsigned char** N/A encode_result N/A N/A _lib i2d_X509_NAME N/A self _name result_buffer N/A N/A encode_result 0 N/A N/A N/A _raise_current_error N/A string_result N/A N/A N/A _ffi buffer N/A result_buffer N/A 0 encode_result N/A N/A N/A N/A _lib OPENSSL_free N/A result_buffer N/A 0 N/A string_result N/A get_components N/A N/A self N/A N/A N/A 
        Returns the components of this name, as a sequence of 2-tuples.

        :return: The components of this name.
        :rtype: :py:class:`list` of ``name, value`` tuples.
         N/A result N/A N/A i N/A range N/A N/A _lib X509_NAME_entry_count N/A self _name N/A N/A ent N/A N/A _lib X509_NAME_get_entry N/A self _name i N/A fname N/A N/A _lib X509_NAME_ENTRY_get_object ent N/A fval N/A N/A _lib X509_NAME_ENTRY_get_data ent N/A nid N/A N/A _lib OBJ_obj2nid fname N/A name N/A N/A _lib OBJ_nid2sn nid N/A N/A N/A result append N/A N/A N/A _ffi string name N/A N/A _ffi string N/A N/A _lib ASN1_STRING_data fval N/A N/A _lib ASN1_STRING_length fval N/A result N/A N/A N/A X509NameType X509Name X509Extension N/A object N/A N/A 
    An X.509 v3 certificate extension.
     __init__ N/A N/A self type_name critical value subject issuer N/A None None N/A N/A 
        Initializes an X509 extension.

        :param type_name: The name of the type of extension_ to create.
        :type type_name: :py:data:`bytes`

        :param bool critical: A flag indicating whether this is a critical
            extension.

        :param value: The value of the extension.
        :type value: :py:data:`bytes`

        :param subject: Optional X509 certificate to use as subject.
        :type subject: :py:class:`X509`

        :param issuer: Optional X509 certificate to use as issuer.
        :type issuer: :py:class:`X509`

        .. _extension: https://openssl.org/docs/manmaster/apps/
            x509v3_config.html#STANDARD-EXTENSIONS
         N/A ctx N/A N/A _ffi new X509V3_CTX* N/A N/A N/A _lib X509V3_set_ctx ctx N/A _ffi NULL N/A _ffi NULL N/A _ffi NULL N/A _ffi NULL 0 N/A N/A N/A _lib X509V3_set_ctx_nodb ctx N/A N/A issuer None N/A N/A N/A N/A isinstance issuer X509 N/A N/A N/A TypeError issuer must be an X509 instance N/A N/A ctx issuer_cert N/A issuer _x509 N/A N/A subject None N/A N/A N/A N/A isinstance subject X509 N/A N/A N/A TypeError subject must be an X509 instance N/A N/A ctx subject_cert N/A subject _x509 N/A critical N/A N/A value N/A critical, value N/A extension N/A N/A _lib X509V3_EXT_nconf N/A _ffi NULL ctx type_name value N/A N/A extension N/A _ffi NULL N/A N/A N/A _raise_current_error N/A N/A self _extension N/A N/A _ffi gc extension N/A _lib X509_EXTENSION_free N/A _nid N/A N/A self N/A N/A N/A N/A N/A _lib OBJ_obj2nid N/A N/A _lib X509_EXTENSION_get_object N/A self _extension N/A property N/A _prefixes N/A N/A _lib GEN_EMAIL N/A _lib GEN_DNS N/A _lib GEN_URI email DNS URI _subjectAltNameString N/A N/A self N/A N/A N/A method N/A N/A _lib X509V3_EXT_get N/A self _extension N/A N/A method N/A _ffi NULL N/A N/A N/A _raise_current_error N/A ext_data N/A N/A _lib X509_EXTENSION_get_data N/A self _extension N/A payload N/A ext_data data N/A length N/A ext_data length N/A payloadptr N/A N/A _ffi new unsigned char** N/A N/A payloadptr N/A 0 payload N/A N/A N/A method it N/A _ffi NULL N/A N/A ptr N/A N/A _lib ASN1_ITEM_ptr N/A method it N/A data N/A N/A _lib ASN1_item_d2i N/A _ffi NULL payloadptr length ptr N/A names N/A N/A _ffi cast GENERAL_NAMES* data N/A N/A names N/A N/A _ffi cast GENERAL_NAMES* N/A N/A method d2i N/A _ffi NULL payloadptr length N/A names N/A N/A _ffi gc names N/A _lib GENERAL_NAMES_free N/A parts N/A N/A i N/A range N/A N/A _lib sk_GENERAL_NAME_num names N/A N/A name N/A N/A _lib sk_GENERAL_NAME_value names i N/A N/A N/A label N/A N/A self _prefixes N/A N/A name type N/A N/A N/A KeyError N/A N/A bio N/A _new_mem_buf N/A N/A N/A _lib GENERAL_NAME_print bio name N/A N/A N/A parts append N/A _native N/A _bio_to_string bio N/A N/A value N/A _native N/A N/A N/A _ffi buffer N/A N/A N/A name d ia5 data N/A N/A N/A name d ia5 length N/A N/A N/A N/A parts append N/A N/A label : value N/A N/A N/A ,  join parts N/A __str__ N/A N/A self N/A N/A N/A 
        :return: a nice text representation of the extension
         N/A N/A N/A _lib NID_subject_alt_name N/A self _nid N/A N/A N/A N/A self _subjectAltNameString N/A bio N/A _new_mem_buf N/A print_result N/A N/A _lib X509V3_EXT_print bio N/A self _extension 0 0 N/A N/A print_result N/A N/A N/A _raise_current_error N/A N/A _native N/A _bio_to_string bio N/A get_critical N/A N/A self N/A N/A N/A 
        Returns the critical field of this X.509 extension.

        :return: The critical field.
         N/A N/A N/A _lib X509_EXTENSION_get_critical N/A self _extension N/A get_short_name N/A N/A self N/A N/A N/A 
        Returns the short type name of this X.509 extension.

        The result is a byte string such as :py:const:`b"basicConstraints"`.

        :return: The short type name.
        :rtype: :py:data:`bytes`

        .. versionadded:: 0.12
         N/A obj N/A N/A _lib X509_EXTENSION_get_object N/A self _extension N/A nid N/A N/A _lib OBJ_obj2nid obj N/A N/A N/A _ffi string N/A N/A _lib OBJ_nid2sn nid N/A get_data N/A N/A self N/A N/A N/A 
        Returns the data of the X509 extension, encoded as ASN.1.

        :return: The ASN.1 encoded data of this X509 extension.
        :rtype: :py:data:`bytes`

        .. versionadded:: 0.12
         N/A octet_result N/A N/A _lib X509_EXTENSION_get_data N/A self _extension N/A string_result N/A N/A _ffi cast ASN1_STRING* octet_result N/A char_result N/A N/A _lib ASN1_STRING_data string_result N/A result_length N/A N/A _lib ASN1_STRING_length string_result N/A N/A N/A N/A _ffi buffer char_result result_length N/A N/A N/A N/A X509ExtensionType X509Extension X509Req N/A object N/A N/A 
    An X.509 certificate signing requests.
     __init__ N/A N/A self N/A N/A N/A req N/A N/A _lib X509_REQ_new N/A N/A self _req N/A N/A _ffi gc req N/A _lib X509_REQ_free N/A set_pubkey N/A N/A self pkey N/A N/A N/A 
        Set the public key of the certificate signing request.

        :param pkey: The public key to use.
        :type pkey: :py:class:`PKey`

        :return: :py:const:`None`
         N/A set_result N/A N/A _lib X509_REQ_set_pubkey N/A self _req N/A pkey _pkey N/A N/A set_result N/A N/A N/A _raise_current_error N/A get_pubkey N/A N/A self N/A N/A N/A 
        Get the public key of the certificate signing request.

        :return: The public key.
        :rtype: :py:class:`PKey`
         N/A pkey N/A N/A PKey __new__ PKey N/A N/A pkey _pkey N/A N/A _lib X509_REQ_get_pubkey N/A self _req N/A N/A N/A pkey _pkey N/A _ffi NULL N/A N/A N/A _raise_current_error N/A N/A pkey _pkey N/A N/A _ffi gc N/A pkey _pkey N/A _lib EVP_PKEY_free N/A N/A pkey _only_public True N/A pkey N/A set_version N/A N/A self version N/A N/A N/A 
        Set the version subfield (RFC 2459, section 4.1.2.1) of the certificate
        request.

        :param int version: The version number.
        :return: :py:const:`None`
         N/A set_result N/A N/A _lib X509_REQ_set_version N/A self _req version N/A N/A set_result N/A N/A N/A _raise_current_error N/A get_version N/A N/A self N/A N/A N/A 
        Get the version subfield (RFC 2459, section 4.1.2.1) of the certificate
        request.

        :return: The value of the version subfield.
        :rtype: :py:class:`int`
         N/A N/A N/A _lib X509_REQ_get_version N/A self _req N/A get_subject N/A N/A self N/A N/A N/A 
        Return the subject of this certificate signing request.

        This creates a new :class:`X509Name` that wraps the underlying subject
        name field on the certificate signing request. Modifying it will modify
        the underlying signing request, and will have the effect of modifying
        any other :class:`X509Name` that refers to this subject.

        :return: The subject of this certificate signing request.
        :rtype: :class:`X509Name`
         N/A name N/A N/A X509Name __new__ X509Name N/A N/A name _name N/A N/A _lib X509_REQ_get_subject_name N/A self _req N/A N/A N/A name _name N/A _ffi NULL N/A N/A N/A _raise_current_error N/A N/A name _owner self N/A name N/A add_extensions N/A N/A self extensions N/A N/A N/A 
        Add extensions to the certificate signing request.

        :param extensions: The X.509 extensions to add.
        :type extensions: iterable of :py:class:`X509Extension`
        :return: :py:const:`None`
         N/A stack N/A N/A _lib sk_X509_EXTENSION_new_null N/A N/A stack N/A _ffi NULL N/A N/A N/A _raise_current_error N/A stack N/A N/A _ffi gc stack N/A _lib sk_X509_EXTENSION_free N/A ext extensions N/A N/A N/A N/A isinstance ext X509Extension N/A N/A N/A ValueError One of the elements is not an X509Extension N/A N/A N/A _lib sk_X509_EXTENSION_push stack N/A ext _extension N/A add_result N/A N/A _lib X509_REQ_add_extensions N/A self _req stack N/A N/A add_result N/A N/A N/A _raise_current_error N/A get_extensions N/A N/A self N/A N/A N/A 
        Get X.509 extensions in the certificate signing request.

        :return: The X.509 extensions in this request.
        :rtype: :py:class:`list` of :py:class:`X509Extension` objects.

        .. versionadded:: 0.15
         N/A exts N/A N/A native_exts_obj N/A N/A _lib X509_REQ_get_extensions N/A self _req N/A i N/A range N/A N/A _lib sk_X509_EXTENSION_num native_exts_obj N/A N/A ext N/A N/A X509Extension __new__ X509Extension N/A N/A ext _extension N/A N/A _lib sk_X509_EXTENSION_value native_exts_obj i N/A N/A N/A exts append ext N/A exts N/A sign N/A N/A self pkey digest N/A N/A N/A 
        Sign the certificate signing request with this key and digest type.

        :param pkey: The key pair to sign with.
        :type pkey: :py:class:`PKey`
        :param digest: The name of the message digest to use for the signature,
            e.g. :py:data:`b"sha1"`.
        :type digest: :py:class:`bytes`
        :return: :py:const:`None`
         N/A N/A pkey _only_public N/A N/A N/A ValueError Key has only public part N/A N/A N/A pkey _initialized N/A N/A N/A ValueError Key is uninitialized N/A digest_obj N/A N/A _lib EVP_get_digestbyname N/A _byte_string digest N/A N/A digest_obj N/A _ffi NULL N/A N/A N/A ValueError No such digest method N/A sign_result N/A N/A _lib X509_REQ_sign N/A self _req N/A pkey _pkey digest_obj N/A N/A sign_result N/A N/A N/A _raise_current_error N/A verify N/A N/A self pkey N/A N/A N/A 
        Verifies the signature on this certificate signing request.

        :param key: A public key.
        :type key: :py:class:`PKey`
        :return: :py:data:`True` if the signature is correct.
        :rtype: :py:class:`bool`
        :raises Error: If the signature is invalid or there is a
            problem verifying the signature.
         N/A N/A N/A isinstance pkey PKey N/A N/A N/A TypeError pkey must be a PKey instance N/A result N/A N/A _lib X509_REQ_verify N/A self _req N/A pkey _pkey N/A N/A result 0 N/A N/A N/A _raise_current_error N/A result N/A N/A N/A X509ReqType X509Req X509 N/A object N/A N/A 
    An X.509 certificate.
     __init__ N/A N/A self N/A N/A N/A x509 N/A N/A _lib X509_new N/A N/A self _x509 N/A N/A _ffi gc x509 N/A _lib X509_free N/A set_version N/A N/A self version N/A N/A N/A 
        Set the version number of the certificate.

        :param version: The version number of the certificate.
        :type version: :py:class:`int`

        :return: :py:const:`None`
         N/A N/A N/A isinstance version int N/A N/A N/A TypeError version must be an integer N/A N/A N/A _lib X509_set_version N/A self _x509 version N/A get_version N/A N/A self N/A N/A N/A 
        Return the version number of the certificate.

        :return: The version number of the certificate.
        :rtype: :py:class:`int`
         N/A N/A N/A _lib X509_get_version N/A self _x509 N/A get_pubkey N/A N/A self N/A N/A N/A 
        Get the public key of the certificate.

        :return: The public key.
        :rtype: :py:class:`PKey`
         N/A pkey N/A N/A PKey __new__ PKey N/A N/A pkey _pkey N/A N/A _lib X509_get_pubkey N/A self _x509 N/A N/A N/A pkey _pkey N/A _ffi NULL N/A N/A N/A _raise_current_error N/A N/A pkey _pkey N/A N/A _ffi gc N/A pkey _pkey N/A _lib EVP_PKEY_free N/A N/A pkey _only_public True N/A pkey N/A set_pubkey N/A N/A self pkey N/A N/A N/A 
        Set the public key of the certificate.

        :param pkey: The public key.
        :type pkey: :py:class:`PKey`

        :return: :py:data:`None`
         N/A N/A N/A isinstance pkey PKey N/A N/A N/A TypeError pkey must be a PKey instance N/A set_result N/A N/A _lib X509_set_pubkey N/A self _x509 N/A pkey _pkey N/A N/A set_result N/A N/A N/A _raise_current_error N/A sign N/A N/A self pkey digest N/A N/A N/A 
        Sign the certificate with this key and digest type.

        :param pkey: The key to sign with.
        :type pkey: :py:class:`PKey`

        :param digest: The name of the message digest to use.
        :type digest: :py:class:`bytes`

        :return: :py:data:`None`
         N/A N/A N/A isinstance pkey PKey N/A N/A N/A TypeError pkey must be a PKey instance N/A N/A pkey _only_public N/A N/A N/A ValueError Key only has public part N/A N/A N/A pkey _initialized N/A N/A N/A ValueError Key is uninitialized N/A evp_md N/A N/A _lib EVP_get_digestbyname N/A _byte_string digest N/A N/A evp_md N/A _ffi NULL N/A N/A N/A ValueError No such digest method N/A sign_result N/A N/A _lib X509_sign N/A self _x509 N/A pkey _pkey evp_md N/A N/A sign_result N/A N/A N/A _raise_current_error N/A get_signature_algorithm N/A N/A self N/A N/A N/A 
        Return the signature algorithm used in the certificate.

        :return: The name of the algorithm.
        :rtype: :py:class:`bytes`

        :raises ValueError: If the signature algorithm is undefined.

        .. versionadded:: 0.13
         N/A alg N/A N/A N/A N/A self _x509 cert_info signature algorithm N/A nid N/A N/A _lib OBJ_obj2nid alg N/A N/A nid N/A _lib NID_undef N/A N/A N/A ValueError Undefined signature algorithm N/A N/A N/A _ffi string N/A N/A _lib OBJ_nid2ln nid N/A digest N/A N/A self digest_name N/A N/A N/A 
        Return the digest of the X509 object.

        :param digest_name: The name of the digest algorithm to use.
        :type digest_name: :py:class:`bytes`

        :return: The digest of the object, formatted as
            :py:const:`b":"`-delimited hex pairs.
        :rtype: :py:class:`bytes`
         N/A digest N/A N/A _lib EVP_get_digestbyname N/A _byte_string digest_name N/A N/A digest N/A _ffi NULL N/A N/A N/A ValueError No such digest method N/A result_buffer N/A N/A _ffi new char[] N/A _lib EVP_MAX_MD_SIZE N/A result_length N/A N/A _ffi new unsigned int[] 1 N/A N/A result_length N/A 0 N/A len result_buffer N/A digest_result N/A N/A _lib X509_digest N/A self _x509 digest result_buffer result_length N/A N/A digest_result N/A N/A N/A _raise_current_error N/A N/A N/A : join N/A N/A N/A N/A b16encode ch upper N/A ch N/A N/A _ffi buffer result_buffer N/A result_length N/A 0 N/A subject_name_hash N/A N/A self N/A N/A N/A 
        Return the hash of the X509 subject.

        :return: The hash of the subject.
        :rtype: :py:class:`bytes`
         N/A N/A N/A _lib X509_subject_name_hash N/A self _x509 N/A set_serial_number N/A N/A self serial N/A N/A N/A 
        Set the serial number of the certificate.

        :param serial: The new serial number.
        :type serial: :py:class:`int`

        :return: :py:data`None`
         N/A N/A N/A isinstance serial _integer_types N/A N/A N/A TypeError serial must be an integer N/A hex_serial N/A N/A hex serial N/A 2 N/A N/A N/A isinstance hex_serial bytes N/A N/A hex_serial N/A N/A hex_serial encode ascii N/A bignum_serial N/A N/A _ffi new BIGNUM** N/A small_serial N/A N/A _lib BN_hex2bn bignum_serial hex_serial N/A N/A N/A bignum_serial N/A 0 N/A _ffi NULL N/A N/A set_result N/A N/A _lib ASN1_INTEGER_set N/A N/A _lib X509_get_serialNumber N/A self _x509 small_serial N/A set_result N/A N/A N/A _raise_current_error N/A N/A asn1_serial N/A N/A _lib BN_to_ASN1_INTEGER N/A bignum_serial N/A 0 N/A _ffi NULL N/A N/A N/A _lib BN_free N/A bignum_serial N/A 0 N/A N/A asn1_serial N/A _ffi NULL N/A N/A N/A _raise_current_error N/A asn1_serial N/A N/A _ffi gc asn1_serial N/A _lib ASN1_INTEGER_free N/A set_result N/A N/A _lib X509_set_serialNumber N/A self _x509 asn1_serial N/A N/A set_result N/A N/A N/A _raise_current_error N/A get_serial_number N/A N/A self N/A N/A N/A 
        Return the serial number of this certificate.

        :return: The serial number.
        :rtype: :py:class:`int`
         N/A asn1_serial N/A N/A _lib X509_get_serialNumber N/A self _x509 N/A bignum_serial N/A N/A _lib ASN1_INTEGER_to_BN asn1_serial N/A _ffi NULL N/A N/A N/A hex_serial N/A N/A _lib BN_bn2hex bignum_serial N/A N/A N/A hexstring_serial N/A N/A _ffi string hex_serial N/A serial N/A int hexstring_serial 16 N/A serial N/A N/A N/A N/A _lib OPENSSL_free hex_serial N/A N/A N/A N/A _lib BN_free bignum_serial N/A gmtime_adj_notAfter N/A N/A self amount N/A N/A N/A 
        Adjust the time stamp on which the certificate stops being valid.

        :param amount: The number of seconds by which to adjust the timestamp.
        :type amount: :py:class:`int`

        :return: :py:const:`None`
         N/A N/A N/A isinstance amount int N/A N/A N/A TypeError amount must be an integer N/A notAfter N/A N/A _lib X509_get_notAfter N/A self _x509 N/A N/A N/A _lib X509_gmtime_adj notAfter amount N/A gmtime_adj_notBefore N/A N/A self amount N/A N/A N/A 
        Adjust the timestamp on which the certificate starts being valid.

        :param amount: The number of seconds by which to adjust the timestamp.
        :return: :py:const:`None`
         N/A N/A N/A isinstance amount int N/A N/A N/A TypeError amount must be an integer N/A notBefore N/A N/A _lib X509_get_notBefore N/A self _x509 N/A N/A N/A _lib X509_gmtime_adj notBefore amount N/A has_expired N/A N/A self N/A N/A N/A 
        Check whether the certificate has expired.

        :return: :py:const:`True` if the certificate has expired,
            :py:const:`False` otherwise.
        :rtype: :py:class:`bool`
         N/A time_string N/A _native N/A N/A self get_notAfter N/A not_after N/A N/A N/A datetime datetime strptime time_string %Y%m%d%H%M%SZ N/A N/A not_after N/A N/A N/A datetime datetime utcnow N/A _get_boundary_time N/A N/A self which N/A N/A N/A N/A _get_asn1_time N/A which N/A self _x509 N/A get_notBefore N/A N/A self N/A N/A N/A 
        Get the timestamp at which the certificate starts being valid.

        The timestamp is formatted as an ASN.1 GENERALIZEDTIME::

            YYYYMMDDhhmmssZ
            YYYYMMDDhhmmss+hhmm
            YYYYMMDDhhmmss-hhmm

        :return: A timestamp string, or :py:const:`None` if there is none.
        :rtype: :py:class:`bytes` or :py:const:`None`
         N/A N/A N/A self _get_boundary_time N/A _lib X509_get_notBefore N/A _set_boundary_time N/A N/A self which when N/A N/A N/A N/A _set_asn1_time N/A which N/A self _x509 when N/A set_notBefore N/A N/A self when N/A N/A N/A 
        Set the timestamp at which the certificate starts being valid.

        The timestamp is formatted as an ASN.1 GENERALIZEDTIME::

            YYYYMMDDhhmmssZ
            YYYYMMDDhhmmss+hhmm
            YYYYMMDDhhmmss-hhmm

        :param when: A timestamp string.
        :type when: :py:class:`bytes`

        :return: :py:const:`None`
         N/A N/A N/A self _set_boundary_time N/A _lib X509_get_notBefore when N/A get_notAfter N/A N/A self N/A N/A N/A 
        Get the timestamp at which the certificate stops being valid.

        The timestamp is formatted as an ASN.1 GENERALIZEDTIME::

            YYYYMMDDhhmmssZ
            YYYYMMDDhhmmss+hhmm
            YYYYMMDDhhmmss-hhmm

        :return: A timestamp string, or :py:const:`None` if there is none.
        :rtype: :py:class:`bytes` or :py:const:`None`
         N/A N/A N/A self _get_boundary_time N/A _lib X509_get_notAfter N/A set_notAfter N/A N/A self when N/A N/A N/A 
        Set the timestamp at which the certificate stops being valid.

        The timestamp is formatted as an ASN.1 GENERALIZEDTIME::

            YYYYMMDDhhmmssZ
            YYYYMMDDhhmmss+hhmm
            YYYYMMDDhhmmss-hhmm

        :param when: A timestamp string.
        :type when: :py:class:`bytes`

        :return: :py:const:`None`
         N/A N/A N/A self _set_boundary_time N/A _lib X509_get_notAfter when N/A _get_name N/A N/A self which N/A N/A N/A name N/A N/A X509Name __new__ X509Name N/A N/A name _name N/A which N/A self _x509 N/A N/A N/A name _name N/A _ffi NULL N/A N/A N/A _raise_current_error N/A N/A name _owner self N/A name N/A _set_name N/A N/A self which name N/A N/A N/A N/A N/A isinstance name X509Name N/A N/A N/A TypeError name must be an X509Name N/A set_result N/A which N/A self _x509 N/A name _name N/A N/A set_result N/A N/A N/A _raise_current_error N/A get_issuer N/A N/A self N/A N/A N/A 
        Return the issuer of this certificate.

        This creates a new :class:`X509Name` that wraps the underlying issuer
        name field on the certificate. Modifying it will modify the underlying
        certificate, and will have the effect of modifying any other
        :class:`X509Name` that refers to this issuer.

        :return: The issuer of this certificate.
        :rtype: :class:`X509Name`
         N/A N/A N/A self _get_name N/A _lib X509_get_issuer_name N/A set_issuer N/A N/A self issuer N/A N/A N/A 
        Set the issuer of this certificate.

        :param issuer: The issuer.
        :type issuer: :py:class:`X509Name`

        :return: :py:const:`None`
         N/A N/A N/A self _set_name N/A _lib X509_set_issuer_name issuer N/A get_subject N/A N/A self N/A N/A N/A 
        Return the subject of this certificate.

        This creates a new :class:`X509Name` that wraps the underlying subject
        name field on the certificate. Modifying it will modify the underlying
        certificate, and will have the effect of modifying any other
        :class:`X509Name` that refers to this subject.

        :return: The subject of this certificate.
        :rtype: :class:`X509Name`
         N/A N/A N/A self _get_name N/A _lib X509_get_subject_name N/A set_subject N/A N/A self subject N/A N/A N/A 
        Set the subject of this certificate.

        :param subject: The subject.
        :type subject: :py:class:`X509Name`

        :return: :py:const:`None`
         N/A N/A N/A self _set_name N/A _lib X509_set_subject_name subject N/A get_extension_count N/A N/A self N/A N/A N/A 
        Get the number of extensions on this certificate.

        :return: The number of extensions.
        :rtype: :py:class:`int`

        .. versionadded:: 0.12
         N/A N/A N/A _lib X509_get_ext_count N/A self _x509 N/A add_extensions N/A N/A self extensions N/A N/A N/A 
        Add extensions to the certificate.

        :param extensions: The extensions to add.
        :type extensions: An iterable of :py:class:`X509Extension` objects.
        :return: :py:const:`None`
         N/A ext extensions N/A N/A N/A N/A isinstance ext X509Extension N/A N/A N/A ValueError One of the elements is not an X509Extension N/A add_result N/A N/A _lib X509_add_ext N/A self _x509 N/A ext _extension -1 N/A N/A add_result N/A N/A N/A _raise_current_error N/A get_extension N/A N/A self index N/A N/A N/A 
        Get a specific extension of the certificate by index.

        Extensions on a certificate are kept in order. The index
        parameter selects which extension will be returned.

        :param int index: The index of the extension to retrieve.
        :return: The extension at the specified index.
        :rtype: :py:class:`X509Extension`
        :raises IndexError: If the extension index was out of bounds.

        .. versionadded:: 0.12
         N/A ext N/A N/A X509Extension __new__ X509Extension N/A N/A ext _extension N/A N/A _lib X509_get_ext N/A self _x509 index N/A N/A N/A ext _extension N/A _ffi NULL N/A N/A N/A IndexError extension index out of bounds N/A extension N/A N/A _lib X509_EXTENSION_dup N/A ext _extension N/A N/A ext _extension N/A N/A _ffi gc extension N/A _lib X509_EXTENSION_free N/A ext N/A N/A N/A X509Type X509 X509Store N/A object N/A N/A 
    An X509 certificate store.
     __init__ N/A N/A self N/A N/A N/A store N/A N/A _lib X509_STORE_new N/A N/A self _store N/A N/A _ffi gc store N/A _lib X509_STORE_free N/A add_cert N/A N/A self cert N/A N/A N/A 
        Adds the certificate :py:data:`cert` to this store.

        This is the Python equivalent of OpenSSL's ``X509_STORE_add_cert``.

        :param X509 cert: The certificate to add to this store.
        :raises TypeError: If the certificate is not an :py:class:`X509`.
        :raises Error: If OpenSSL was unhappy with your certificate.
        :return: :py:data:`None` if the certificate was added successfully.
         N/A N/A N/A isinstance cert X509 N/A N/A N/A TypeError N/A result N/A N/A _lib X509_STORE_add_cert N/A self _store N/A cert _x509 N/A N/A result N/A N/A N/A _raise_current_error N/A N/A N/A X509StoreType X509Store X509StoreContextError N/A Exception N/A N/A 
    An exception raised when an error occurred while verifying a certificate
    using `OpenSSL.X509StoreContext.verify_certificate`.

    :ivar certificate: The certificate which caused verificate failure.
    :type certificate: :class:`X509`
     __init__ N/A N/A self message certificate N/A N/A N/A N/A N/A N/A super X509StoreContextError self __init__ message N/A N/A self certificate certificate N/A N/A X509StoreContext N/A object N/A N/A 
    An X.509 store context.

    An :py:class:`X509StoreContext` is used to define some of the criteria for
    certificate verification.  The information encapsulated in this object
    includes, but is not limited to, a set of trusted certificates,
    verification parameters, and revoked certificates.

    .. note::

      Currently, one can only set the trusted certificates on an
      :py:class:`X509StoreContext`.  Future versions of pyOpenSSL will expose
      verification parameters and certificate revocation lists.

    :ivar _store_ctx: The underlying X509_STORE_CTX structure used by this
        instance.  It is dynamically allocated and automatically garbage
        collected.

    :ivar _store: See the ``store`` ``__init__`` parameter.

    :ivar _cert: See the ``certificate`` ``__init__`` parameter.

    :param X509Store store: The certificates which will be trusted for the
        purposes of any verifications.

    :param X509 certificate: The certificate to be verified.
     __init__ N/A N/A self store certificate N/A N/A N/A store_ctx N/A N/A _lib X509_STORE_CTX_new N/A N/A self _store_ctx N/A N/A _ffi gc store_ctx N/A _lib X509_STORE_CTX_free N/A N/A self _store store N/A N/A self _cert certificate N/A N/A N/A self _init N/A _init N/A N/A self N/A N/A N/A 
        Set up the store context for a subsequent verification operation.
         N/A ret N/A N/A _lib X509_STORE_CTX_init N/A self _store_ctx N/A N/A self _store _store N/A N/A self _cert _x509 N/A _ffi NULL N/A N/A ret 0 N/A N/A N/A _raise_current_error N/A _cleanup N/A N/A self N/A N/A N/A 
        Internally cleans up the store context.

        The store context can then be reused with a new call to
        :py:meth:`_init`.
         N/A N/A N/A _lib X509_STORE_CTX_cleanup N/A self _store_ctx N/A _exception_from_context N/A N/A self N/A N/A N/A 
        Convert an OpenSSL native context error failure into a Python
        exception.

        When a call to native OpenSSL X509_verify_cert fails, additional
        information about the failure can be obtained from the store context.
         N/A errors N/A N/A N/A _lib X509_STORE_CTX_get_error N/A self _store_ctx N/A N/A _lib X509_STORE_CTX_get_error_depth N/A self _store_ctx N/A _native N/A N/A _ffi string N/A N/A _lib X509_verify_cert_error_string N/A N/A _lib X509_STORE_CTX_get_error N/A self _store_ctx N/A _x509 N/A N/A _lib X509_STORE_CTX_get_current_cert N/A self _store_ctx N/A _cert N/A N/A _lib X509_dup _x509 N/A pycert N/A N/A X509 __new__ X509 N/A N/A pycert _x509 N/A N/A _ffi gc _cert N/A _lib X509_free N/A N/A X509StoreContextError errors pycert N/A set_store N/A N/A self store N/A N/A N/A 
        Set the context's trust store.

        .. versionadded:: 0.15

        :param X509Store store: The certificates which will be trusted for the
            purposes of any *future* verifications.
         N/A N/A self _store store N/A verify_certificate N/A N/A self N/A N/A N/A 
        Verify a certificate in a context.

        .. versionadded:: 0.15

        :param store_ctx: The :py:class:`X509StoreContext` to verify.

        :raises X509StoreContextError: If an error occurred when validating a
          certificate in the context. Sets ``certificate`` attribute to
          indicate which certificate caused the error.
         N/A N/A N/A self _init N/A ret N/A N/A _lib X509_verify_cert N/A self _store_ctx N/A N/A N/A self _cleanup N/A N/A ret 0 N/A N/A N/A N/A self _exception_from_context N/A N/A load_certificate N/A N/A type buffer N/A N/A N/A 
    Load a certificate from a buffer

    :param type: The file type (one of FILETYPE_PEM, FILETYPE_ASN1)

    :param buffer: The buffer the certificate is stored in
    :type buffer: :py:class:`bytes`

    :return: The X509 object
     N/A N/A isinstance buffer _text_type N/A N/A buffer N/A N/A buffer encode ascii N/A bio N/A _new_mem_buf buffer N/A N/A type FILETYPE_PEM N/A N/A x509 N/A N/A _lib PEM_read_bio_X509 bio N/A _ffi NULL N/A _ffi NULL N/A _ffi NULL N/A N/A N/A type FILETYPE_ASN1 N/A N/A x509 N/A N/A _lib d2i_X509_bio bio N/A _ffi NULL N/A N/A N/A ValueError type argument must be FILETYPE_PEM or FILETYPE_ASN1 N/A N/A x509 N/A _ffi NULL N/A N/A N/A _raise_current_error N/A cert N/A N/A X509 __new__ X509 N/A N/A cert _x509 N/A N/A _ffi gc x509 N/A _lib X509_free N/A cert N/A dump_certificate N/A N/A type cert N/A N/A N/A 
    Dump a certificate to a buffer

    :param type: The file type (one of FILETYPE_PEM, FILETYPE_ASN1, or
        FILETYPE_TEXT)
    :param cert: The certificate to dump
    :return: The buffer with the dumped certificate in
     N/A bio N/A _new_mem_buf N/A N/A type FILETYPE_PEM N/A N/A result_code N/A N/A _lib PEM_write_bio_X509 bio N/A cert _x509 N/A N/A N/A type FILETYPE_ASN1 N/A N/A result_code N/A N/A _lib i2d_X509_bio bio N/A cert _x509 N/A N/A N/A type FILETYPE_TEXT N/A N/A result_code N/A N/A _lib X509_print_ex bio N/A cert _x509 0 0 N/A N/A N/A ValueError type argument must be FILETYPE_PEM, FILETYPE_ASN1, or FILETYPE_TEXT N/A N/A result_code 1 N/A N/A _bio_to_string bio N/A dump_publickey N/A N/A type pkey N/A N/A N/A 
    Dump a public key to a buffer.

    :param type: The file type (one of :data:`FILETYPE_PEM` or
        :data:`FILETYPE_ASN1`).
    :param PKey pkey: The public key to dump
    :return: The buffer with the dumped key in it.
    :rtype: bytes
     N/A bio N/A _new_mem_buf N/A N/A type FILETYPE_PEM N/A N/A write_bio N/A _lib PEM_write_bio_PUBKEY N/A N/A N/A type FILETYPE_ASN1 N/A N/A write_bio N/A _lib i2d_PUBKEY_bio N/A N/A N/A ValueError type argument must be FILETYPE_PEM or FILETYPE_ASN1 N/A result_code N/A write_bio bio N/A pkey _pkey N/A N/A result_code 1 N/A N/A N/A _raise_current_error N/A N/A _bio_to_string bio N/A dump_privatekey N/A N/A type pkey cipher passphrase N/A None None N/A N/A 
    Dump a private key to a buffer

    :param type: The file type (one of FILETYPE_PEM, FILETYPE_ASN1, or
        FILETYPE_TEXT)
    :param pkey: The PKey to dump
    :param cipher: (optional) if encrypted PEM format, the cipher to
                   use
    :param passphrase: (optional) if encrypted PEM format, this can be either
                       the passphrase to use, or a callback for providing the
                       passphrase.
    :return: The buffer with the dumped key in
    :rtype: :py:data:`bytes`
     N/A bio N/A _new_mem_buf N/A N/A cipher None N/A N/A N/A passphrase None N/A N/A N/A TypeError if a value is given for cipher one must also be given for passphrase N/A cipher_obj N/A N/A _lib EVP_get_cipherbyname N/A _byte_string cipher N/A N/A cipher_obj N/A _ffi NULL N/A N/A N/A ValueError Invalid cipher name N/A N/A cipher_obj N/A _ffi NULL N/A helper N/A _PassphraseHelper type passphrase N/A N/A type FILETYPE_PEM N/A N/A result_code N/A N/A _lib PEM_write_bio_PrivateKey bio N/A pkey _pkey cipher_obj N/A _ffi NULL 0 N/A helper callback N/A helper callback_args N/A N/A N/A helper raise_if_problem N/A N/A N/A type FILETYPE_ASN1 N/A N/A result_code N/A N/A _lib i2d_PrivateKey_bio bio N/A pkey _pkey N/A N/A N/A type FILETYPE_TEXT N/A N/A rsa N/A N/A _lib EVP_PKEY_get1_RSA N/A pkey _pkey N/A result_code N/A N/A _lib RSA_print bio rsa 0 N/A N/A N/A ValueError type argument must be FILETYPE_PEM, FILETYPE_ASN1, or FILETYPE_TEXT N/A N/A result_code 0 N/A N/A N/A _raise_current_error N/A N/A _bio_to_string bio N/A Revoked N/A object N/A N/A 
    A certificate revocation.
     N/A _crl_reasons N/A unspecified keyCompromise CACompromise affiliationChanged superseded cessationOfOperation certificateHold __init__ N/A N/A self N/A N/A N/A revoked N/A N/A _lib X509_REVOKED_new N/A N/A self _revoked N/A N/A _ffi gc revoked N/A _lib X509_REVOKED_free N/A set_serial N/A N/A self hex_str N/A N/A N/A 
        Set the serial number.

        The serial number is formatted as a hexadecimal number encoded in
        ASCII.

        :param hex_str: The new serial number.
        :type hex_str: :py:class:`bytes`

        :return: :py:const:`None`
         N/A bignum_serial N/A N/A _ffi gc N/A N/A _lib BN_new N/A _lib BN_free N/A bignum_ptr N/A N/A _ffi new BIGNUM** N/A N/A bignum_ptr N/A 0 bignum_serial N/A bn_result N/A N/A _lib BN_hex2bn bignum_ptr hex_str N/A N/A bn_result N/A N/A N/A ValueError bad hex string N/A asn1_serial N/A N/A _ffi gc N/A N/A _lib BN_to_ASN1_INTEGER bignum_serial N/A _ffi NULL N/A _lib ASN1_INTEGER_free N/A N/A N/A _lib X509_REVOKED_set_serialNumber N/A self _revoked asn1_serial N/A get_serial N/A N/A self N/A N/A N/A 
        Get the serial number.

        The serial number is formatted as a hexadecimal number encoded in
        ASCII.

        :return: The serial number.
        :rtype: :py:class:`bytes`
         N/A bio N/A _new_mem_buf N/A result N/A N/A _lib i2a_ASN1_INTEGER bio N/A N/A self _revoked serialNumber N/A N/A result 0 N/A N/A N/A _raise_current_error N/A N/A _bio_to_string bio N/A _delete_reason N/A N/A self N/A N/A N/A stack N/A N/A self _revoked extensions N/A i N/A range N/A N/A _lib sk_X509_EXTENSION_num stack N/A N/A ext N/A N/A _lib sk_X509_EXTENSION_value stack i N/A obj N/A N/A _lib X509_EXTENSION_get_object ext N/A N/A N/A N/A _lib OBJ_obj2nid obj N/A _lib NID_crl_reason N/A N/A N/A N/A _lib X509_EXTENSION_free ext N/A N/A N/A _lib sk_X509_EXTENSION_delete stack i N/A N/A set_reason N/A N/A self reason N/A N/A N/A 
        Set the reason of this revocation.

        If :py:data:`reason` is :py:const:`None`, delete the reason instead.

        :param reason: The reason string.
        :type reason: :py:class:`bytes` or :py:class:`NoneType`

        :return: :py:const:`None`

        .. seealso::

            :py:meth:`all_reasons`, which gives you a list of all supported
            reasons which you might pass to this method.
         N/A N/A reason None N/A N/A N/A N/A self _delete_reason N/A N/A N/A N/A isinstance reason bytes N/A N/A N/A TypeError reason must be None or a byte string N/A N/A reason N/A N/A N/A N/A reason lower replace N/A reason_code N/A N/A N/A N/A N/A r lower N/A r N/A self _crl_reasons index reason N/A new_reason_ext N/A N/A _lib ASN1_ENUMERATED_new N/A N/A new_reason_ext N/A _ffi NULL N/A N/A N/A _raise_current_error N/A new_reason_ext N/A N/A _ffi gc new_reason_ext N/A _lib ASN1_ENUMERATED_free N/A set_result N/A N/A _lib ASN1_ENUMERATED_set new_reason_ext reason_code N/A N/A set_result N/A _ffi NULL N/A N/A N/A _raise_current_error N/A N/A N/A self _delete_reason N/A add_result N/A N/A _lib X509_REVOKED_add1_ext_i2d N/A self _revoked N/A _lib NID_crl_reason new_reason_ext 0 0 N/A N/A add_result N/A N/A N/A _raise_current_error N/A get_reason N/A N/A self N/A N/A N/A 
        Get the reason of this revocation.

        :return: The reason, or :py:const:`None` if there is none.
        :rtype: :py:class:`bytes` or :py:class:`NoneType`

        .. seealso::

            :py:meth:`all_reasons`, which gives you a list of all supported
            reasons this method might return.
         N/A extensions N/A N/A self _revoked extensions N/A i N/A range N/A N/A _lib sk_X509_EXTENSION_num extensions N/A N/A ext N/A N/A _lib sk_X509_EXTENSION_value extensions i N/A obj N/A N/A _lib X509_EXTENSION_get_object ext N/A N/A N/A N/A _lib OBJ_obj2nid obj N/A _lib NID_crl_reason N/A N/A bio N/A _new_mem_buf N/A print_result N/A N/A _lib X509V3_EXT_print bio ext 0 0 N/A N/A print_result N/A N/A print_result N/A N/A _lib M_ASN1_OCTET_STRING_print bio N/A N/A _lib X509_EXTENSION_get_data ext N/A N/A print_result 0 N/A N/A N/A _raise_current_error N/A N/A _bio_to_string bio N/A all_reasons N/A N/A self N/A N/A N/A 
        Return a list of all the supported reason strings.

        This list is a copy; modifying it does not change the supported reason
        strings.

        :return: A list of reason strings.
        :rtype: :py:class:`list` of :py:class:`bytes`
         N/A N/A N/A self _crl_reasons N/A N/A set_rev_date N/A N/A self when N/A N/A N/A 
        Set the revocation timestamp.

        :param when: The timestamp of the revocation, as ASN.1 GENERALIZEDTIME.
        :type when: :py:class:`bytes`
        :return: :py:const:`None`
         N/A N/A _set_asn1_time N/A N/A self _revoked revocationDate when N/A get_rev_date N/A N/A self N/A N/A N/A 
        Get the revocation timestamp.

        :return: The timestamp of the revocation, as ASN.1 GENERALIZEDTIME.
        :rtype: :py:class:`bytes`
         N/A N/A _get_asn1_time N/A N/A self _revoked revocationDate N/A N/A CRL N/A object N/A N/A 
    A certificate revocation list.
     __init__ N/A N/A self N/A N/A N/A 
        Create a new empty certificate revocation list.
         N/A crl N/A N/A _lib X509_CRL_new N/A N/A self _crl N/A N/A _ffi gc crl N/A _lib X509_CRL_free N/A get_revoked N/A N/A self N/A N/A N/A 
        Return the revocations in this certificate revocation list.

        These revocations will be provided by value, not by reference.
        That means it's okay to mutate them: it won't affect this CRL.

        :return: The revocations in this CRL.
        :rtype: :py:class:`tuple` of :py:class:`Revocation`
         N/A results N/A N/A revoked_stack N/A N/A N/A self _crl crl revoked N/A i N/A range N/A N/A _lib sk_X509_REVOKED_num revoked_stack N/A N/A revoked N/A N/A _lib sk_X509_REVOKED_value revoked_stack i N/A revoked_copy N/A N/A _lib Cryptography_X509_REVOKED_dup revoked N/A pyrev N/A N/A Revoked __new__ Revoked N/A N/A pyrev _revoked N/A N/A _ffi gc revoked_copy N/A _lib X509_REVOKED_free N/A N/A N/A results append pyrev N/A results N/A N/A N/A tuple results N/A add_revoked N/A N/A self revoked N/A N/A N/A 
        Add a revoked (by value not reference) to the CRL structure

        This revocation will be added by value, not by reference. That
        means it's okay to mutate it after adding: it won't affect
        this CRL.

        :param revoked: The new revocation.
        :type revoked: :class:`Revoked`

        :return: :py:const:`None`
         N/A copy N/A N/A _lib Cryptography_X509_REVOKED_dup N/A revoked _revoked N/A N/A copy N/A _ffi NULL N/A N/A N/A _raise_current_error N/A add_result N/A N/A _lib X509_CRL_add0_revoked N/A self _crl copy N/A N/A add_result 0 N/A N/A N/A _raise_current_error N/A export N/A N/A self cert key type days digest N/A FILETYPE_PEM 100 _UNSPECIFIED N/A N/A 
        Export a CRL as a string.

        :param cert: The certificate used to sign the CRL.
        :type cert: :py:class:`X509`

        :param key: The key used to sign the CRL.
        :type key: :py:class:`PKey`

        :param type: The export format, either :py:data:`FILETYPE_PEM`,
            :py:data:`FILETYPE_ASN1`, or :py:data:`FILETYPE_TEXT`.

        :param int days: The number of days until the next update of this CRL.

        :param bytes digest: The name of the message digest to use (eg
            ``b"sha1"``).

        :return: :py:data:`bytes`
         N/A N/A N/A isinstance cert X509 N/A N/A N/A TypeError cert must be an X509 instance N/A N/A N/A isinstance key PKey N/A N/A N/A TypeError key must be a PKey instance N/A N/A N/A isinstance type int N/A N/A N/A TypeError type must be an integer N/A N/A digest _UNSPECIFIED N/A N/A N/A _warn The default message digest (md5) is deprecated.  Pass the name of a message digest explicitly. category DeprecationWarning stacklevel 2 N/A digest md5 N/A digest_obj N/A N/A _lib EVP_get_digestbyname digest N/A N/A digest_obj N/A _ffi NULL N/A N/A N/A ValueError No such digest method N/A bio N/A N/A _lib BIO_new N/A N/A _lib BIO_s_mem N/A N/A bio N/A _ffi NULL N/A N/A N/A _raise_current_error N/A sometime N/A N/A _lib ASN1_TIME_new N/A N/A sometime N/A _ffi NULL N/A N/A N/A _raise_current_error N/A N/A N/A _lib X509_gmtime_adj sometime 0 N/A N/A N/A _lib X509_CRL_set_lastUpdate N/A self _crl sometime N/A N/A N/A _lib X509_gmtime_adj sometime N/A N/A N/A days 24 60 60 N/A N/A N/A _lib X509_CRL_set_nextUpdate N/A self _crl sometime N/A N/A N/A _lib X509_CRL_set_issuer_name N/A self _crl N/A N/A _lib X509_get_subject_name N/A cert _x509 N/A sign_result N/A N/A _lib X509_CRL_sign N/A self _crl N/A key _pkey digest_obj N/A N/A sign_result N/A N/A N/A _raise_current_error N/A N/A dump_crl type self N/A N/A N/A CRLType CRL PKCS7 N/A object N/A type_is_signed N/A N/A self N/A N/A N/A 
        Check if this NID_pkcs7_signed object

        :return: True if the PKCS7 is of type signed
         N/A N/A N/A _lib PKCS7_type_is_signed N/A self _pkcs7 N/A N/A True N/A False N/A type_is_enveloped N/A N/A self N/A N/A N/A 
        Check if this NID_pkcs7_enveloped object

        :returns: True if the PKCS7 is of type enveloped
         N/A N/A N/A _lib PKCS7_type_is_enveloped N/A self _pkcs7 N/A N/A True N/A False N/A type_is_signedAndEnveloped N/A N/A self N/A N/A N/A 
        Check if this NID_pkcs7_signedAndEnveloped object

        :returns: True if the PKCS7 is of type signedAndEnveloped
         N/A N/A N/A _lib PKCS7_type_is_signedAndEnveloped N/A self _pkcs7 N/A N/A True N/A False N/A type_is_data N/A N/A self N/A N/A N/A 
        Check if this NID_pkcs7_data object

        :return: True if the PKCS7 is of type data
         N/A N/A N/A _lib PKCS7_type_is_data N/A self _pkcs7 N/A N/A True N/A False N/A get_type_name N/A N/A self N/A N/A N/A 
        Returns the type name of the PKCS7 structure

        :return: A string with the typename
         N/A nid N/A N/A _lib OBJ_obj2nid N/A N/A self _pkcs7 type N/A string_type N/A N/A _lib OBJ_nid2sn nid N/A N/A N/A _ffi string string_type N/A N/A N/A PKCS7Type PKCS7 PKCS12 N/A object N/A N/A 
    A PKCS #12 archive.
     __init__ N/A N/A self N/A N/A N/A N/A self _pkey None N/A N/A self _cert None N/A N/A self _cacerts None N/A N/A self _friendlyname None N/A get_certificate N/A N/A self N/A N/A N/A 
        Get the certificate in the PKCS #12 structure.

        :return: The certificate, or :py:const:`None` if there is none.
        :rtype: :py:class:`X509` or :py:const:`None`
         N/A N/A self _cert N/A set_certificate N/A N/A self cert N/A N/A N/A 
        Set the certificate in the PKCS #12 structure.

        :param cert: The new certificate, or :py:const:`None` to unset it.
        :type cert: :py:class:`X509` or :py:const:`None`

        :return: :py:const:`None`
         N/A N/A N/A isinstance cert X509 N/A N/A N/A TypeError cert must be an X509 instance N/A N/A self _cert cert N/A get_privatekey N/A N/A self N/A N/A N/A 
        Get the private key in the PKCS #12 structure.

        :return: The private key, or :py:const:`None` if there is none.
        :rtype: :py:class:`PKey`
         N/A N/A self _pkey N/A set_privatekey N/A N/A self pkey N/A N/A N/A 
        Set the certificate portion of the PKCS #12 structure.

        :param pkey: The new private key, or :py:const:`None` to unset it.
        :type pkey: :py:class:`PKey` or :py:const:`None`

        :return: :py:const:`None`
         N/A N/A N/A isinstance pkey PKey N/A N/A N/A TypeError pkey must be a PKey instance N/A N/A self _pkey pkey N/A get_ca_certificates N/A N/A self N/A N/A N/A 
        Get the CA certificates in the PKCS #12 structure.

        :return: A tuple with the CA certificates in the chain, or
            :py:const:`None` if there are none.
        :rtype: :py:class:`tuple` of :py:class:`X509` or :py:const:`None`
         N/A N/A N/A self _cacerts None N/A N/A N/A tuple N/A self _cacerts N/A set_ca_certificates N/A N/A self cacerts N/A N/A N/A 
        Replace or set the CA certificates within the PKCS12 object.

        :param cacerts: The new CA certificates, or :py:const:`None` to unset
            them.
        :type cacerts: An iterable of :py:class:`X509` or :py:const:`None`

        :return: :py:const:`None`
         N/A N/A cacerts None N/A N/A N/A self _cacerts None N/A N/A cacerts N/A list cacerts N/A cert cacerts N/A N/A N/A N/A isinstance cert X509 N/A N/A N/A TypeError iterable must only contain X509 instances N/A N/A self _cacerts cacerts N/A set_friendlyname N/A N/A self name N/A N/A N/A 
        Set the friendly name in the PKCS #12 structure.

        :param name: The new friendly name, or :py:const:`None` to unset.
        :type name: :py:class:`bytes` or :py:const:`None`

        :return: :py:const:`None`
         N/A N/A name None N/A N/A N/A self _friendlyname None N/A N/A N/A N/A isinstance name bytes N/A N/A N/A TypeError N/A name must be a byte string or None (not %r) N/A name N/A N/A self _friendlyname name N/A get_friendlyname N/A N/A self N/A N/A N/A 
        Get the friendly name in the PKCS# 12 structure.

        :returns: The friendly name,  or :py:const:`None` if there is none.
        :rtype: :py:class:`bytes` or :py:const:`None`
         N/A N/A self _friendlyname N/A export N/A N/A self passphrase iter maciter N/A None 2048 1 N/A N/A 
        Dump a PKCS12 object as a string.

        For more information, see the :c:func:`PKCS12_create` man page.

        :param passphrase: The passphrase used to encrypt the structure. Unlike
            some other passphrase arguments, this *must* be a string, not a
            callback.
        :type passphrase: :py:data:`bytes`

        :param iter: Number of times to repeat the encryption step.
        :type iter: :py:data:`int`

        :param maciter: Number of times to repeat the MAC step.
        :type maciter: :py:data:`int`

        :return: The string representation of the PKCS #12 structure.
        :rtype:
         N/A passphrase N/A _text_to_bytes_and_warn passphrase passphrase N/A N/A N/A self _cacerts None N/A N/A cacerts N/A _ffi NULL N/A N/A cacerts N/A N/A _lib sk_X509_new_null N/A cacerts N/A N/A _ffi gc cacerts N/A _lib sk_X509_free N/A cert N/A self _cacerts N/A N/A N/A N/A _lib sk_X509_push cacerts N/A cert _x509 N/A N/A passphrase None N/A N/A passphrase N/A _ffi NULL N/A friendlyname N/A self _friendlyname N/A N/A friendlyname None N/A N/A friendlyname N/A _ffi NULL N/A N/A N/A self _pkey None N/A N/A pkey N/A _ffi NULL N/A N/A pkey N/A N/A self _pkey _pkey N/A N/A N/A self _cert None N/A N/A cert N/A _ffi NULL N/A N/A cert N/A N/A self _cert _x509 N/A pkcs12 N/A N/A _lib PKCS12_create passphrase friendlyname pkey cert cacerts N/A _lib NID_pbe_WithSHA1And3_Key_TripleDES_CBC N/A _lib NID_pbe_WithSHA1And3_Key_TripleDES_CBC iter maciter 0 N/A N/A pkcs12 N/A _ffi NULL N/A N/A N/A _raise_current_error N/A pkcs12 N/A N/A _ffi gc pkcs12 N/A _lib PKCS12_free N/A bio N/A _new_mem_buf N/A N/A N/A _lib i2d_PKCS12_bio bio pkcs12 N/A N/A _bio_to_string bio N/A N/A N/A PKCS12Type PKCS12 NetscapeSPKI N/A object N/A N/A 
    A Netscape SPKI object.
     __init__ N/A N/A self N/A N/A N/A spki N/A N/A _lib NETSCAPE_SPKI_new N/A N/A self _spki N/A N/A _ffi gc spki N/A _lib NETSCAPE_SPKI_free N/A sign N/A N/A self pkey digest N/A N/A N/A 
        Sign the certificate request with this key and digest type.

        :param pkey: The private key to sign with.
        :type pkey: :py:class:`PKey`

        :param digest: The message digest to use.
        :type digest: :py:class:`bytes`

        :return: :py:const:`None`
         N/A N/A pkey _only_public N/A N/A N/A ValueError Key has only public part N/A N/A N/A pkey _initialized N/A N/A N/A ValueError Key is uninitialized N/A digest_obj N/A N/A _lib EVP_get_digestbyname N/A _byte_string digest N/A N/A digest_obj N/A _ffi NULL N/A N/A N/A ValueError No such digest method N/A sign_result N/A N/A _lib NETSCAPE_SPKI_sign N/A self _spki N/A pkey _pkey digest_obj N/A N/A sign_result N/A N/A N/A _raise_current_error N/A verify N/A N/A self key N/A N/A N/A 
        Verifies a signature on a certificate request.

        :param key: The public key that signature is supposedly from.
        :type pkey: :py:class:`PKey`

        :return: :py:const:`True` if the signature is correct.
        :rtype: :py:class:`bool`

        :raises Error: If the signature is invalid, or there was a problem
            verifying the signature.
         N/A answer N/A N/A _lib NETSCAPE_SPKI_verify N/A self _spki N/A key _pkey N/A N/A answer 0 N/A N/A N/A _raise_current_error N/A True N/A b64_encode N/A N/A self N/A N/A N/A 
        Generate a base64 encoded representation of this SPKI object.

        :return: The base64 encoded string.
        :rtype: :py:class:`bytes`
         N/A encoded N/A N/A _lib NETSCAPE_SPKI_b64_encode N/A self _spki N/A result N/A N/A _ffi string encoded N/A N/A N/A _lib OPENSSL_free encoded N/A result N/A get_pubkey N/A N/A self N/A N/A N/A 
        Get the public key of this certificate.

        :return: The public key.
        :rtype: :py:class:`PKey`
         N/A pkey N/A N/A PKey __new__ PKey N/A N/A pkey _pkey N/A N/A _lib NETSCAPE_SPKI_get_pubkey N/A self _spki N/A N/A N/A pkey _pkey N/A _ffi NULL N/A N/A N/A _raise_current_error N/A N/A pkey _pkey N/A N/A _ffi gc N/A pkey _pkey N/A _lib EVP_PKEY_free N/A N/A pkey _only_public True N/A pkey N/A set_pubkey N/A N/A self pkey N/A N/A N/A 
        Set the public key of the certificate

        :param pkey: The public key
        :return: :py:const:`None`
         N/A set_result N/A N/A _lib NETSCAPE_SPKI_set_pubkey N/A self _spki N/A pkey _pkey N/A N/A set_result N/A N/A N/A _raise_current_error N/A N/A N/A NetscapeSPKIType NetscapeSPKI _PassphraseHelper N/A object N/A __init__ N/A N/A self type passphrase more_args truncate N/A False False N/A N/A N/A N/A type FILETYPE_PEM N/A passphrase None N/A N/A N/A ValueError only FILETYPE_PEM key format supports encryption N/A N/A self _passphrase passphrase N/A N/A self _more_args more_args N/A N/A self _truncate truncate N/A N/A self _problems N/A N/A callback N/A N/A self N/A N/A N/A N/A N/A self _passphrase None N/A N/A N/A _ffi NULL N/A N/A N/A isinstance N/A self _passphrase bytes N/A N/A N/A _ffi NULL N/A N/A N/A callable N/A self _passphrase N/A N/A N/A N/A _ffi callback pem_password_cb N/A self _read_passphrase N/A N/A N/A TypeError Last argument must be string or callable N/A property callback_args N/A N/A self N/A N/A N/A N/A N/A self _passphrase None N/A N/A N/A _ffi NULL N/A N/A N/A isinstance N/A self _passphrase bytes N/A N/A N/A self _passphrase N/A N/A N/A callable N/A self _passphrase N/A N/A N/A _ffi NULL N/A N/A N/A TypeError Last argument must be string or callable N/A property raise_if_problem N/A N/A self exceptionType N/A Error N/A N/A N/A N/A N/A _exception_from_error_queue exceptionType N/A N/A N/A exceptionType N/A e N/A N/A from_queue e N/A N/A self _problems N/A N/A N/A N/A self _problems N/A 0 N/A from_queue N/A _read_passphrase N/A N/A self buf size rwflag userdata N/A N/A N/A N/A N/A N/A self _more_args N/A N/A result N/A N/A self _passphrase size rwflag userdata N/A N/A result N/A N/A self _passphrase rwflag N/A N/A N/A isinstance result bytes N/A N/A N/A ValueError String expected N/A N/A N/A len result size N/A N/A N/A self _truncate N/A N/A result N/A result N/A size N/A N/A N/A ValueError passphrase returned by callback is too long N/A i N/A range N/A len result N/A N/A N/A buf N/A i N/A result N/A i N/A i 1 N/A N/A len result N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self _problems append e N/A 0 N/A N/A load_publickey N/A N/A type buffer N/A N/A N/A 
    Load a public key from a buffer.

    :param type: The file type (one of :data:`FILETYPE_PEM`,
        :data:`FILETYPE_ASN1`).
    :param buffer: The buffer the key is stored in.
    :type buffer: A Python string object, either unicode or bytestring.
    :return: The PKey object.
    :rtype: :class:`PKey`
     N/A N/A isinstance buffer _text_type N/A N/A buffer N/A N/A buffer encode ascii N/A bio N/A _new_mem_buf buffer N/A N/A type FILETYPE_PEM N/A N/A evp_pkey N/A N/A _lib PEM_read_bio_PUBKEY bio N/A _ffi NULL N/A _ffi NULL N/A _ffi NULL N/A N/A N/A type FILETYPE_ASN1 N/A N/A evp_pkey N/A N/A _lib d2i_PUBKEY_bio bio N/A _ffi NULL N/A N/A N/A ValueError type argument must be FILETYPE_PEM or FILETYPE_ASN1 N/A N/A evp_pkey N/A _ffi NULL N/A N/A N/A _raise_current_error N/A pkey N/A N/A PKey __new__ PKey N/A N/A pkey _pkey N/A N/A _ffi gc evp_pkey N/A _lib EVP_PKEY_free N/A pkey N/A load_privatekey N/A N/A type buffer passphrase N/A None N/A N/A 
    Load a private key from a buffer

    :param type: The file type (one of FILETYPE_PEM, FILETYPE_ASN1)
    :param buffer: The buffer the key is stored in
    :param passphrase: (optional) if encrypted PEM format, this can be
                       either the passphrase to use, or a callback for
                       providing the passphrase.

    :return: The PKey object
     N/A N/A isinstance buffer _text_type N/A N/A buffer N/A N/A buffer encode ascii N/A bio N/A _new_mem_buf buffer N/A helper N/A _PassphraseHelper type passphrase N/A N/A type FILETYPE_PEM N/A N/A evp_pkey N/A N/A _lib PEM_read_bio_PrivateKey bio N/A _ffi NULL N/A helper callback N/A helper callback_args N/A N/A N/A helper raise_if_problem N/A N/A N/A type FILETYPE_ASN1 N/A N/A evp_pkey N/A N/A _lib d2i_PrivateKey_bio bio N/A _ffi NULL N/A N/A N/A ValueError type argument must be FILETYPE_PEM or FILETYPE_ASN1 N/A N/A evp_pkey N/A _ffi NULL N/A N/A N/A _raise_current_error N/A pkey N/A N/A PKey __new__ PKey N/A N/A pkey _pkey N/A N/A _ffi gc evp_pkey N/A _lib EVP_PKEY_free N/A pkey N/A dump_certificate_request N/A N/A type req N/A N/A N/A 
    Dump a certificate request to a buffer

    :param type: The file type (one of FILETYPE_PEM, FILETYPE_ASN1)
    :param req: The certificate request to dump
    :return: The buffer with the dumped certificate request in
     N/A bio N/A _new_mem_buf N/A N/A type FILETYPE_PEM N/A N/A result_code N/A N/A _lib PEM_write_bio_X509_REQ bio N/A req _req N/A N/A N/A type FILETYPE_ASN1 N/A N/A result_code N/A N/A _lib i2d_X509_REQ_bio bio N/A req _req N/A N/A N/A type FILETYPE_TEXT N/A N/A result_code N/A N/A _lib X509_REQ_print_ex bio N/A req _req 0 0 N/A N/A N/A ValueError type argument must be FILETYPE_PEM, FILETYPE_ASN1, or FILETYPE_TEXT N/A N/A result_code 0 N/A N/A N/A _raise_current_error N/A N/A _bio_to_string bio N/A load_certificate_request N/A N/A type buffer N/A N/A N/A 
    Load a certificate request from a buffer

    :param type: The file type (one of FILETYPE_PEM, FILETYPE_ASN1)
    :param buffer: The buffer the certificate request is stored in
    :return: The X509Req object
     N/A N/A isinstance buffer _text_type N/A N/A buffer N/A N/A buffer encode ascii N/A bio N/A _new_mem_buf buffer N/A N/A type FILETYPE_PEM N/A N/A req N/A N/A _lib PEM_read_bio_X509_REQ bio N/A _ffi NULL N/A _ffi NULL N/A _ffi NULL N/A N/A N/A type FILETYPE_ASN1 N/A N/A req N/A N/A _lib d2i_X509_REQ_bio bio N/A _ffi NULL N/A N/A N/A ValueError type argument must be FILETYPE_PEM or FILETYPE_ASN1 N/A N/A req N/A _ffi NULL N/A N/A N/A _raise_current_error N/A x509req N/A N/A X509Req __new__ X509Req N/A N/A x509req _req N/A N/A _ffi gc req N/A _lib X509_REQ_free N/A x509req N/A sign N/A N/A pkey data digest N/A N/A N/A 
    Sign data with a digest

    :param pkey: Pkey to sign with
    :param data: data to be signed
    :param digest: message digest to use
    :return: signature
     N/A data N/A _text_to_bytes_and_warn data data N/A digest_obj N/A N/A _lib EVP_get_digestbyname N/A _byte_string digest N/A N/A digest_obj N/A _ffi NULL N/A N/A N/A ValueError No such digest method N/A md_ctx N/A N/A _ffi new EVP_MD_CTX* N/A md_ctx N/A N/A _ffi gc md_ctx N/A _lib EVP_MD_CTX_cleanup N/A N/A N/A _lib EVP_SignInit md_ctx digest_obj N/A N/A N/A _lib EVP_SignUpdate md_ctx data N/A len data N/A pkey_length N/A N/A N/A N/A PKey bits pkey 7 8 N/A signature_buffer N/A N/A _ffi new unsigned char[] pkey_length N/A signature_length N/A N/A _ffi new unsigned int* N/A final_result N/A N/A _lib EVP_SignFinal md_ctx signature_buffer signature_length N/A pkey _pkey N/A N/A final_result 1 N/A N/A N/A _raise_current_error N/A N/A N/A N/A _ffi buffer signature_buffer N/A signature_length N/A 0 N/A N/A verify N/A N/A cert signature data digest N/A N/A N/A 
    Verify a signature.

    :param cert: signing certificate (X509 object)
    :param signature: signature returned by sign function
    :param data: data to be verified
    :param digest: message digest to use
    :return: :py:const:`None` if the signature is correct, raise exception
        otherwise
     N/A data N/A _text_to_bytes_and_warn data data N/A digest_obj N/A N/A _lib EVP_get_digestbyname N/A _byte_string digest N/A N/A digest_obj N/A _ffi NULL N/A N/A N/A ValueError No such digest method N/A pkey N/A N/A _lib X509_get_pubkey N/A cert _x509 N/A N/A pkey N/A _ffi NULL N/A N/A N/A _raise_current_error N/A pkey N/A N/A _ffi gc pkey N/A _lib EVP_PKEY_free N/A md_ctx N/A N/A _ffi new EVP_MD_CTX* N/A md_ctx N/A N/A _ffi gc md_ctx N/A _lib EVP_MD_CTX_cleanup N/A N/A N/A _lib EVP_VerifyInit md_ctx digest_obj N/A N/A N/A _lib EVP_VerifyUpdate md_ctx data N/A len data N/A verify_result N/A N/A _lib EVP_VerifyFinal md_ctx signature N/A len signature pkey N/A N/A verify_result 1 N/A N/A N/A _raise_current_error N/A dump_crl N/A N/A type crl N/A N/A N/A 
    Dump a certificate revocation list to a buffer.

    :param type: The file type (one of ``FILETYPE_PEM``, ``FILETYPE_ASN1``, or
        ``FILETYPE_TEXT``).
    :param CRL crl: The CRL to dump.

    :return: The buffer with the CRL.
    :rtype: :data:`bytes`
     N/A bio N/A _new_mem_buf N/A N/A type FILETYPE_PEM N/A N/A ret N/A N/A _lib PEM_write_bio_X509_CRL bio N/A crl _crl N/A N/A N/A type FILETYPE_ASN1 N/A N/A ret N/A N/A _lib i2d_X509_CRL_bio bio N/A crl _crl N/A N/A N/A type FILETYPE_TEXT N/A N/A ret N/A N/A _lib X509_CRL_print bio N/A crl _crl N/A N/A N/A ValueError type argument must be FILETYPE_PEM, FILETYPE_ASN1, or FILETYPE_TEXT N/A N/A ret 1 N/A N/A _bio_to_string bio N/A load_crl N/A N/A type buffer N/A N/A N/A 
    Load a certificate revocation list from a buffer

    :param type: The file type (one of FILETYPE_PEM, FILETYPE_ASN1)
    :param buffer: The buffer the CRL is stored in

    :return: The PKey object
     N/A N/A isinstance buffer _text_type N/A N/A buffer N/A N/A buffer encode ascii N/A bio N/A _new_mem_buf buffer N/A N/A type FILETYPE_PEM N/A N/A crl N/A N/A _lib PEM_read_bio_X509_CRL bio N/A _ffi NULL N/A _ffi NULL N/A _ffi NULL N/A N/A N/A type FILETYPE_ASN1 N/A N/A crl N/A N/A _lib d2i_X509_CRL_bio bio N/A _ffi NULL N/A N/A N/A ValueError type argument must be FILETYPE_PEM or FILETYPE_ASN1 N/A N/A crl N/A _ffi NULL N/A N/A N/A _raise_current_error N/A result N/A N/A CRL __new__ CRL N/A N/A result _crl crl N/A result N/A load_pkcs7_data N/A N/A type buffer N/A N/A N/A 
    Load pkcs7 data from a buffer

    :param type: The file type (one of FILETYPE_PEM or FILETYPE_ASN1)
    :param buffer: The buffer with the pkcs7 data.
    :return: The PKCS7 object
     N/A N/A isinstance buffer _text_type N/A N/A buffer N/A N/A buffer encode ascii N/A bio N/A _new_mem_buf buffer N/A N/A type FILETYPE_PEM N/A N/A pkcs7 N/A N/A _lib PEM_read_bio_PKCS7 bio N/A _ffi NULL N/A _ffi NULL N/A _ffi NULL N/A N/A N/A type FILETYPE_ASN1 N/A N/A pkcs7 N/A N/A _lib d2i_PKCS7_bio bio N/A _ffi NULL N/A N/A N/A _raise_current_error N/A N/A ValueError type argument must be FILETYPE_PEM or FILETYPE_ASN1 N/A N/A pkcs7 N/A _ffi NULL N/A N/A N/A _raise_current_error N/A pypkcs7 N/A N/A PKCS7 __new__ PKCS7 N/A N/A pypkcs7 _pkcs7 N/A N/A _ffi gc pkcs7 N/A _lib PKCS7_free N/A pypkcs7 N/A load_pkcs12 N/A N/A buffer passphrase N/A None N/A N/A 
    Load a PKCS12 object from a buffer

    :param buffer: The buffer the certificate is stored in
    :param passphrase: (Optional) The password to decrypt the PKCS12 lump
    :returns: The PKCS12 object
     N/A passphrase N/A _text_to_bytes_and_warn passphrase passphrase N/A N/A isinstance buffer _text_type N/A N/A buffer N/A N/A buffer encode ascii N/A bio N/A _new_mem_buf buffer N/A N/A passphrase N/A N/A passphrase N/A _ffi NULL N/A p12 N/A N/A _lib d2i_PKCS12_bio bio N/A _ffi NULL N/A N/A p12 N/A _ffi NULL N/A N/A N/A _raise_current_error N/A p12 N/A N/A _ffi gc p12 N/A _lib PKCS12_free N/A pkey N/A N/A _ffi new EVP_PKEY** N/A cert N/A N/A _ffi new X509** N/A cacerts N/A N/A _ffi new Cryptography_STACK_OF_X509** N/A parse_result N/A N/A _lib PKCS12_parse p12 passphrase pkey cert cacerts N/A N/A parse_result N/A N/A N/A _raise_current_error N/A cacerts N/A N/A _ffi gc N/A cacerts N/A 0 N/A _lib sk_X509_free N/A N/A N/A N/A _raise_current_error N/A N/A N/A Error N/A N/A N/A N/A N/A pkey N/A 0 N/A _ffi NULL N/A N/A pykey None N/A N/A pykey N/A N/A PKey __new__ PKey N/A N/A pykey _pkey N/A N/A _ffi gc N/A pkey N/A 0 N/A _lib EVP_PKEY_free N/A N/A N/A cert N/A 0 N/A _ffi NULL N/A N/A pycert None N/A friendlyname None N/A N/A pycert N/A N/A X509 __new__ X509 N/A N/A pycert _x509 N/A N/A _ffi gc N/A cert N/A 0 N/A _lib X509_free N/A friendlyname_length N/A N/A _ffi new int* N/A friendlyname_buffer N/A N/A _lib X509_alias_get0 N/A cert N/A 0 friendlyname_length N/A friendlyname N/A N/A N/A _ffi buffer friendlyname_buffer N/A friendlyname_length N/A 0 N/A N/A N/A friendlyname_buffer N/A _ffi NULL N/A N/A friendlyname None N/A pycacerts N/A N/A i N/A range N/A N/A _lib sk_X509_num cacerts N/A N/A pycacert N/A N/A X509 __new__ X509 N/A N/A pycacert _x509 N/A N/A _lib sk_X509_value cacerts i N/A N/A N/A pycacerts append pycacert N/A N/A pycacerts N/A N/A pycacerts None N/A pkcs12 N/A N/A PKCS12 __new__ PKCS12 N/A N/A pkcs12 _pkey pykey N/A N/A pkcs12 _cert pycert N/A N/A pkcs12 _cacerts pycacerts N/A N/A pkcs12 _friendlyname friendlyname N/A pkcs12 N/A N/A N/A N/A _lib OpenSSL_add_all_algorithms N/A N/A N/A _lib SSL_load_error_strings N/A N/A N/A _lib ASN1_STRING_set_default_mask_asc utf8only