HsOpenSSL-0.3: (Part of) OpenSSL binding for HaskellContentsIndex
OpenSSL.EVP.PKey
Description
An interface to asymmetric cipher keypair.
Synopsis
data PKey
newPKeyRSA :: RSA -> PKey
newPKeyDSA :: DSA -> PKey
Documentation
data PKey
PKey is an opaque object that represents either public key or public/private keypair. The concrete algorithm of asymmetric cipher is hidden in the object.
newPKeyRSA :: RSA -> PKey
newPKeyRSA rsa encapsulates an RSA key into PKey.
newPKeyDSA :: DSA -> PKey
newPKeyDSA dsa encapsulates an DSA key into PKey.
Produced by Haddock version 0.8