HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

ModuleHsOpenSSL-0.11.7.11Haskell2010

OpenSSL.X509

An interface to X.509 certificate.

Contents
  1. Type
  2. Functions to manipulate certificate
  3. Accessors
Synopsis
  • PackageHsOpenSSL-0.11.7.11
  • Exports29
  • LanguageHaskell2010
  • LicenceLicenseRef-PublicDomain
  • SourceX509.hsc

Type

Functions to manipulate certificate

valuesignX509
  1. :: KeyPair key
  2. => X509

    The certificate to be signed.

  3. -> key

    The private key to sign with.

  4. -> Maybe Digest

    A hashing algorithm to use. If Nothing the most suitable algorithm for the key is automatically used.

  5. -> IO ()

signX509 signs a certificate with an issuer private key.

Accessors

valuegetIssuerName
  1. :: X509

    The certificate to examine.

  2. -> Bool

    True if you want the keys of each parts to be of long form (e.g. "commonName"), or False if you don't (e.g. "CN").

  3. -> IO [(String, String)]

    Pairs of key and value, for example (\"C\", \"JP\"), (\"ST\", \"Some-State\"), ....

getIssuerName returns the issuer name of certificate.