|
Network.AdHoc.Signature | Maintainer | Henning Guenther |
|
|
|
Description |
This module is a helper for signature checking. It gives the text
that needs to be hashed in order to create or verify a signature.
|
|
Synopsis |
|
|
|
Documentation |
|
|
A raw signature.
| Constructors | Signature | | sign_type :: SignType | The type of the signature
| signature :: ByteString | The actual signature
|
|
| Instances | |
|
|
|
Specifies the signature algorithm used to sign a message.
| Constructors | MD5 | MD5 has been used to sign the message
| SignUnknown String | An unknown signature algorithm was used
|
| Instances | |
|
|
|
This type represents the possible results of verifying a signature.
| Constructors | SignatureOK | The signature was valid
| SignatureWrong | The signature was invalid
| CertificateMissing (Certificate -> SignatureStatus) | The signature could not be
checked, becuase a Certificate was missing. The function
is a callback to be called when the missing certificate has been
acquired.
|
| Instances | |
|
|
|
No signature has been given.
|
|
|
The message has been locally created, so we know the private key.
|
|
|
The signature has been received via network. The signature might be
knwon or not.
|
|
class ToInternalSignature s where | Source |
|
A class of types that have an internal signature status.
| | Methods | | | Instances | |
|
|
|
Calculates the concatenation of all text nodes in the list of contents, except for receiver elements
|
|
|
Given a certificate, this function verifies the Signature of a String.
|
|
Produced by Haddock version 2.6.1 |