HsOpenSSL-0.5.1: (Part of) OpenSSL binding for HaskellSource codeContentsIndex
OpenSSL.EVP.PKey
Description
An interface to asymmetric cipher keypair.
Synopsis
data PKey
newPKeyRSA :: RSA -> PKey
newPKeyDSA :: DSA -> PKey
Documentation
data PKey Source
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 -> PKeySource
newPKeyRSA rsa encapsulates an RSA key into PKey.
newPKeyDSA :: DSA -> PKeySource
newPKeyDSA dsa encapsulates an DSA key into PKey.
Produced by Haddock version 2.4.2