HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

ModuleHsOpenSSL-0.11.7.11Haskell2010

OpenSSL.DER

Encoding and decoding of RSA keys using the ASN.1 DER format

  • 4 values
  • PackageHsOpenSSL-0.11.7.11
  • Exports4
  • LanguageHaskell2010
  • LicenceLicenseRef-PublicDomain
  • SourceDER.hsc
valuetoDERPub
  1. :: RSAKey k
  2. => k

    You can pass either RSAPubKey or RSAKeyPair because both contain the necessary information.

  3. -> ByteString

    The public key information encoded in ASN.1 DER

#

Dump a public key to ASN.1 DER format