Copyright | (c) Leo D 2023 |
---|---|
License | BSD-3-Clause |
Maintainer | leo@apotheca.io |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- loadDHPrivKey :: MP -> MP -> MP -> PrivKey
- loadDHPubKey :: MP -> MP -> MP -> PubKey
- newDSAPrivKey :: MonadRandomIO m => Int -> Int -> m PrivKey
- loadDSAPrivKey :: MP -> MP -> MP -> MP -> PrivKey
- loadDSAPubKey :: MP -> MP -> MP -> MP -> PubKey
- loadECDHPrivKey :: MP -> ByteString -> PrivKey
- loadECDHPubKey :: MP -> MP -> ByteString -> PubKey
- loadECDSAPrivKey :: MP -> ByteString -> PrivKey
- loadECDSAPubKey :: MP -> MP -> ByteString -> PubKey
- loadEd25519PrivKey :: ByteString -> PrivKey
- loadEd25519PubKey :: ByteString -> PubKey
- exportEd25519PrivKey :: PrivKey -> ByteString
- exportEd25519PubKey :: PubKey -> ByteString
- newElGamalPrivKey :: MonadRandomIO m => Int -> Int -> m PrivKey
- loadElGamalPrivKey :: MP -> MP -> MP -> PrivKey
- loadElGamalPubKey :: MP -> MP -> MP -> PubKey
- loadRSAPrivKey :: MP -> MP -> MP -> PrivKey
- loadRSAPubKey :: MP -> MP -> PubKey
- loadSM2PrivKey :: MP -> ByteString -> PrivKey
- loadSM2PubKey :: MP -> MP -> ByteString -> PubKey
- loadX25519PrivKey :: ByteString -> PrivKey
- loadX25519PubKey :: ByteString -> PubKey
- exportX25519PrivKey :: PrivKey -> ByteString
- exportX25519PubKey :: PubKey -> ByteString
DH
loadDHPrivKey :: MP -> MP -> MP -> PrivKey Source #
loadDHPubKey :: MP -> MP -> MP -> PubKey Source #
DSA
newDSAPrivKey :: MonadRandomIO m => Int -> Int -> m PrivKey Source #
loadDSAPrivKey :: MP -> MP -> MP -> MP -> PrivKey Source #
loadDSAPubKey :: MP -> MP -> MP -> MP -> PubKey Source #
ECDH
loadECDHPrivKey :: MP -> ByteString -> PrivKey Source #
loadECDHPubKey :: MP -> MP -> ByteString -> PubKey Source #
ECDSA
loadECDSAPrivKey :: MP -> ByteString -> PrivKey Source #
loadECDSAPubKey :: MP -> MP -> ByteString -> PubKey Source #
Ed25519
loadEd25519PubKey :: ByteString -> PubKey Source #
ElGamal
newElGamalPrivKey :: MonadRandomIO m => Int -> Int -> m PrivKey Source #
loadElGamalPrivKey :: MP -> MP -> MP -> PrivKey Source #
loadElGamalPubKey :: MP -> MP -> MP -> PubKey Source #
RSA
loadRSAPrivKey :: MP -> MP -> MP -> PrivKey Source #
loadRSAPubKey :: MP -> MP -> PubKey Source #
SM2
loadSM2PrivKey :: MP -> ByteString -> PrivKey Source #
loadSM2PubKey :: MP -> MP -> ByteString -> PubKey Source #
X25519
loadX25519PubKey :: ByteString -> PubKey Source #