HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

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.