botan-low
Copyright(c) 2023-2024 Apotheca Labs
(c) 2024-2025 Haskell Foundation
LicenseBSD-3-Clause
Maintainerjoris@well-typed.com, leo@apotheca.io
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageGHC2021

Botan.Low.PubKey.RSA

Description

 

Documentation

privKeyLoadRSA Source #

Arguments

:: MP

p

-> MP

q

-> MP

e

-> IO PrivKey

key

privKeyRSAGetPrivKey Source #

Arguments

:: PrivKey

rsa_key

-> Word32

flags

-> IO ByteString

out WRONG: privKeyRSAGetPrivKey = mkCreateObjectCBytesLen1 botan_privkey_rsa_get_privkey

pubKeyLoadRSA Source #

Arguments

:: MP

n

-> MP

e

-> IO PubKey

key