Lines Matching refs:Certificate
21 class Certificate(object): class
49 return Certificate(cert, key)
77 return Certificate(cert, key)
81 a = Certificate.create("Root A")
82 a_sha1 = Certificate.create("Root A", key=a.key, digest="sha1")
83 b = Certificate.create("Root B")
84 a_to_b = Certificate.create("Root A", b, a.key)
85 b_to_a = Certificate.create("Root B", a, b.key)
86 leaf1 = Certificate.create("Leaf", a)
87 intermediate_a = Certificate.create("intermediate", a)
88 intermediate_b = Certificate.create("intermediate", b, intermediate_a.key)
89 leaf2 = Certificate.create("Leaf 2", intermediate_a)