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

Botan.PubKey

Description

Public key cryptography is a collection of techniques allowing for encryption, signatures, and key agreement.

Synopsis

Thing

 

Usage

 

Idiomatic interface

Data type

data PK Source #

Constructors

RSA Word32 
SM2 ECGroup 
ElGamal DLGroup 
DSA DLGroup 
ECDSA ECGroup 
ECKCDSA ECGroup 
ECGDSA ECGroup 
GOST_34_10 ECGroup 
Ed25519 
XMSS XMSS 
DH DLGroup 
ECDH ECGroup 
Curve25519 
Dilithium 
Kyber 
McEliece

SPHINCSPlus -- PQ, signing, unknown parameters, possibly unavailable because brew botan is 3.0

ecGroupName :: ECGroup -> ECGroupName Source #

dlGroupName :: DLGroup -> DLGroupName Source #

Enumerations

Associated types

pkExportFormatFlags :: PKExportFormat -> PrivKeyExportFlags Source #

Private Keys

Wrapped private key

newtype PrivKey #

Constructors

MkPrivKey 

Fields

Destructor

Initializers

Accessors

Accessory functions

Public Keys

newtype PubKey #

Constructors

MkPubKey 

Fields

Destructor

Accessors

Accessory functions