HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

ModuleHsOpenSSL-0.11.7.10Haskell2010

OpenSSL.DER

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

  • 4 values
  • PackageHsOpenSSL-0.11.7.10
  • 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