Copyright | (c) Leo D 2023 |
---|---|
License | BSD-3-Clause |
Maintainer | leo@apotheca.io |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- pkSign :: MonadRandomIO m => PrivKey -> PKSignAlgo -> PKSignatureFormat -> ByteString -> m PKSignature
- type PKSign = Sign
- type PKSignAlgo = SignAlgo
- signAlgoName :: SignAlgo -> EMSAName
- type PKSignatureFormat = SigningFlags
- type PKSignature = ByteString
- destroyPKSign :: MonadIO m => PKSign -> m ()
- newPKSign :: MonadIO m => PrivKey -> PKSignAlgo -> PKSignatureFormat -> m PKSign
- pkSignOutputLength :: MonadIO m => PKSign -> m Int
- pkSignUpdate :: MonadIO m => PKSign -> ByteString -> m ()
- pkSignFinish :: MonadRandomIO m => PKSign -> m PKSignature
- data SignAlgo
- data EMSA
Thing
Usage
Public Key Signatures
pkSign :: MonadRandomIO m => PrivKey -> PKSignAlgo -> PKSignatureFormat -> ByteString -> m PKSignature Source #
Data type
Associated types
type PKSignAlgo = SignAlgo Source #
signAlgoName :: SignAlgo -> EMSAName Source #
type PKSignatureFormat = SigningFlags Source #
type PKSignature = ByteString Source #
Destructor
destroyPKSign :: MonadIO m => PKSign -> m () Source #
Initializers
newPKSign :: MonadIO m => PrivKey -> PKSignAlgo -> PKSignatureFormat -> m PKSign Source #
Accessors
Algorithm
pkSignUpdate :: MonadIO m => PKSign -> ByteString -> m () Source #
pkSignFinish :: MonadRandomIO m => PKSign -> m PKSignature Source #