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.Sign

Description

 
Synopsis

Public key signatures

newtype Sign Source #

Constructors

MkSign 

Fields

withSign :: Sign -> (BotanPKOpSign -> IO a) -> IO a Source #

signCreate Source #

Arguments

:: PrivKey

key

-> EMSAName

hash_and_padding

-> SigningFlags

flags

-> IO Sign

op

signOutputLength Source #

Arguments

:: Sign

op

-> IO Int

olen

signUpdate Source #

Arguments

:: Sign

op

-> ByteString

in[]

-> IO () 

signFinish Source #

Arguments

:: Sign

op

-> RNG

rng

-> IO ByteString

sig[]

Warning: Depending on the algorithm, signatures produced using StandardFormatSignature may have trailing null bytes.