| |||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||||||||||||||||||||
| An interface to PEM routines. | |||||||||||||||||||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||
| Password supply | |||||||||||||||||||||||||||||||||||||||||||||
| type PemPasswordCallback | |||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||
| data PemPasswordRWState | |||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||
| data PemPasswordSupply | |||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||
| Private key | |||||||||||||||||||||||||||||||||||||||||||||
| writePKCS8PrivateKey | |||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||
| readPrivateKey :: String -> PemPasswordSupply -> IO PKey | |||||||||||||||||||||||||||||||||||||||||||||
| readPrivateKey pem supply reads a private key in PEM string. | |||||||||||||||||||||||||||||||||||||||||||||
| Public key | |||||||||||||||||||||||||||||||||||||||||||||
| writePublicKey :: PKey -> IO String | |||||||||||||||||||||||||||||||||||||||||||||
| writePublicKey pubkey writes a public to PEM string. | |||||||||||||||||||||||||||||||||||||||||||||
| readPublicKey :: String -> IO PKey | |||||||||||||||||||||||||||||||||||||||||||||
| readPublicKey pem reads a public key in PEM string. | |||||||||||||||||||||||||||||||||||||||||||||
| X.509 certificate | |||||||||||||||||||||||||||||||||||||||||||||
| writeX509 :: X509 -> IO String | |||||||||||||||||||||||||||||||||||||||||||||
| writeX509 cert writes an X.509 certificate to PEM string. | |||||||||||||||||||||||||||||||||||||||||||||
| readX509 :: String -> IO X509 | |||||||||||||||||||||||||||||||||||||||||||||
| readX509 pem reads an X.509 certificate in PEM string. | |||||||||||||||||||||||||||||||||||||||||||||
| PKCS#10 certificate request | |||||||||||||||||||||||||||||||||||||||||||||
| data PemX509ReqFormat | |||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||
| writeX509Req | |||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||
| readX509Req :: String -> IO X509Req | |||||||||||||||||||||||||||||||||||||||||||||
| readX509Req reads a PKCS#10 certificate request in PEM string. | |||||||||||||||||||||||||||||||||||||||||||||
| Certificate Revocation List | |||||||||||||||||||||||||||||||||||||||||||||
| writeCRL :: CRL -> IO String | |||||||||||||||||||||||||||||||||||||||||||||
| writeCRL crl writes a Certificate Revocation List to PEM string. | |||||||||||||||||||||||||||||||||||||||||||||
| readCRL :: String -> IO CRL | |||||||||||||||||||||||||||||||||||||||||||||
| readCRL pem reads a Certificate Revocation List in PEM string. | |||||||||||||||||||||||||||||||||||||||||||||
| PKCS#7 structure | |||||||||||||||||||||||||||||||||||||||||||||
| writePkcs7 :: Pkcs7 -> IO String | |||||||||||||||||||||||||||||||||||||||||||||
| writePkcs7 p7 writes a PKCS#7 structure to PEM string. | |||||||||||||||||||||||||||||||||||||||||||||
| readPkcs7 :: String -> IO Pkcs7 | |||||||||||||||||||||||||||||||||||||||||||||
| readPkcs7 pem reads a PKCS#7 structure in PEM string. | |||||||||||||||||||||||||||||||||||||||||||||
| Produced by Haddock version 0.8 | |||||||||||||||||||||||||||||||||||||||||||||