def public_key_verify( lang: Text, keyset_handle: tink.KeysetHandle) -> _primitives.PublicKeyVerify: """Returns an PublicKeyVerify primitive, implemented in lang.""" global _ts return _primitives.PublicKeyVerify(lang, _ts.signature_stub(lang), keyset_handle)
def public_key_verify(lang: Text, pub_keyset: bytes) -> _primitives.PublicKeyVerify: """Returns an PublicKeyVerify primitive, implemented in lang.""" global _ts return _primitives.PublicKeyVerify(lang, _ts.signature_stub(lang), pub_keyset)