botan-low-0.0.1.0: Low-level Botan bindings
Copyright(c) Leo D 2023
LicenseBSD-3-Clause
Maintainerleo@apotheca.io
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Botan.Low.PubKey.Verify

Description

 
Synopsis

Public key signature verification

newtype Verify Source #

Constructors

MkVerify 

Fields

withVerify :: Verify -> (BotanPKOpVerify -> IO a) -> IO a Source #

verifyCreate Source #

Arguments

:: PubKey

key

-> EMSAName

hash_and_padding

-> SigningFlags

flags

-> IO Verify

op

verifyUpdate Source #

Arguments

:: Verify

op

-> ByteString

in[]

-> IO () 

verifyFinish Source #

Arguments

:: Verify

op

-> ByteString

sig[]

-> IO Bool