| Copyright | (c) 2023-2024 Apotheca Labs (c) 2024-2025 Haskell Foundation |
|---|---|
| License | BSD-3-Clause |
| Maintainer | joris@well-typed.com, leo@apotheca.io |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | GHC2021 |
Botan.Bindings.PubKey.RSA
Description
Documentation
botan_privkey_load_rsa Source #
Arguments
| :: Ptr BotanPrivKey | key |
| -> BotanMP | p |
| -> BotanMP | q |
| -> BotanMP | e |
| -> IO CInt |
botan_privkey_load_rsa_pkcs1 Source #
Arguments
| :: Ptr BotanPrivKey | key |
| -> ConstPtr Word8 | bits[] |
| -> CSize | len |
| -> IO CInt |
botan_privkey_rsa_get_privkey Source #
Arguments
| :: BotanPrivKey | rsa_key |
| -> Ptr Word8 | out[] |
| -> Ptr CSize | out_len |
| -> Word32 | flags |
| -> IO CInt |
botan_pubkey_load_rsa Source #
Arguments
| :: Ptr BotanPubKey | key |
| -> BotanMP | n |
| -> BotanMP | e |
| -> IO CInt |