Exemple #1
0
 def test_from_raw(self):
     v = Vapid01.from_raw(T_RAW)
     self.check_keys(v)
Exemple #2
0
 def test_from_raw(self):
     v = Vapid01.from_raw(TEST_KEY_PRIVATE_RAW)
     self.check_keys(v)
Exemple #3
0
 def test_from_raw(self):
     v = Vapid01.from_raw(T_RAW)
     self.check_keys(v)
Exemple #4
0
 def test_from_raw(self):
     v = Vapid01.from_raw(T_RAW)
     eq_(v.private_key.to_pem(), T_PRIVATE.encode('utf8'))
     eq_(v.public_key.to_pem(), T_PUBLIC.encode('utf8'))