HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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