Safe Haskell | None |
---|
Documentation
fingerprint :: Packet -> StringSource
Generate a key fingerprint from a PublicKeyPacket or SecretKeyPacket http://tools.ietf.org/html/rfc4880#section-12.2
:: CryptoRandomGen g | |
=> Message | SecretKeys, one of which will be used |
-> Message | Message containing data or key to sign, and optional signature packet |
-> HashAlgorithm | HashAlgorithm to use in signature |
-> String | KeyID of key to choose or |
-> Integer | Timestamp for signature (unless sig supplied) |
-> g | Random number generator |
-> Packet |
Sign data or key/userID pair.