def test_template(self, template_name, template):
   self.assertEqual(
       template, helper.template_from_testdata(template_name, 'streamingaead'))
Ejemplo n.º 2
0
 def test_template(self, template_name, template):
     self.assertEqual(template,
                      helper.template_from_testdata(template_name, 'jwt'))
Ejemplo n.º 3
0
 def test_template_from_testdata(self):
     template = helper.template_from_testdata('AES128_GCM', 'aead')
     self.assertEqual(template.type_url,
                      'type.googleapis.com/google.crypto.tink.AesGcmKey')