HsOpenSSL-0.5.1: (Part of) OpenSSL binding for Haskell
Source code
Contents
Index
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
->
PKey
Source
newPKeyRSA
rsa
encapsulates an RSA key into
PKey
.
newPKeyDSA
::
DSA
->
PKey
Source
newPKeyDSA
dsa
encapsulates an
DSA
key into
PKey
.
Produced by
Haddock
version 2.4.2