HsOpenSSL-0.5: (Part of) OpenSSL binding for Haskell
Source code
Contents
Index
OpenSSL.EVP.PKey
Description
An interface to asymmetric cipher keypair.
Synopsis
data
PKey
data
EVP_PKEY
wrapPKeyPtr
::
Ptr
EVP_PKEY
->
IO
PKey
withPKeyPtr
::
PKey
-> (
Ptr
EVP_PKEY
->
IO
a) ->
IO
a
unsafePKeyToPtr
::
PKey
->
Ptr
EVP_PKEY
touchPKey
::
PKey
->
IO
()
pkeySize
::
PKey
->
IO
Int
pkeyDefaultMD
::
PKey
->
IO
Digest
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.
data
EVP_PKEY
Source
wrapPKeyPtr
::
Ptr
EVP_PKEY
->
IO
PKey
Source
withPKeyPtr
::
PKey
-> (
Ptr
EVP_PKEY
->
IO
a) ->
IO
a
Source
unsafePKeyToPtr
::
PKey
->
Ptr
EVP_PKEY
Source
touchPKey
::
PKey
->
IO
()
Source
pkeySize
::
PKey
->
IO
Int
Source
pkeyDefaultMD
::
PKey
->
IO
Digest
Source
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