Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type
PemPasswordCallback = Int -> PemPasswordRWState -> IO StringHsOpenSSL OpenSSL.PEM PemPasswordCallback represents a callback function to supply a password.
- Int The maximum length of the password to be accepted.
- PemPasswordRWState The context.
- IO String The resulting password.
PwCallback :: PemPasswordCallback -> PemPasswordSupplyHsOpenSSL OpenSSL.PEM get a password by a callback
type
RSAGenKeyCallback = Int -> Int -> IO ()HsOpenSSL OpenSSL.RSA RSAGenKeyCallback represents a callback function to get informed the progress of RSA key generation.
- callback 0 i is called after generating the i-th potential prime number.
- While the number is being tested for primality, callback 1 j is called after the j-th iteration (j = 0, 1, ...).
- When the n-th randomly generated prime is rejected as not suitable for the key, callback 2 n is called.
- When a random p has been found with p-1 relatively prime to e, it is called as callback 3 0.
- The process is then repeated for prime q with callback 3 1.
-
HsOpenSSL OpenSSL.Session Default set of options
SSL_OP_ALLOW_CLIENT_RENEGOTIATION :: SSLOptionHsOpenSSL OpenSSL.Session No documentation available.
SSL_OP_ALLOW_NO_DHE_KEX :: SSLOptionHsOpenSSL OpenSSL.Session No documentation available.
SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION :: SSLOptionHsOpenSSL OpenSSL.Session Allow legacy insecure renegotiation between OpenSSL and unpatched clients or servers. See SECURE RENEGOTIATION for more details.
SSL_OP_NETSCAPE_CHALLENGE_BUG :: SSLOptionHsOpenSSL OpenSSL.Session As of OpenSSL 1.0.0 this option has no effect.
vpCallback :: VerificationMode -> Maybe (Bool -> X509StoreCtx -> IO Bool)HsOpenSSL OpenSSL.Session optional callback
withContextSetKeylogCallback :: SSLContext -> (String -> IO ()) -> IO a -> IO aHsOpenSSL OpenSSL.Session The key logging callback is called with a String "line". The line is a string containing the key material in the format used by NSS for its SSLKEYLOGFILE debugging output. To recreate that file, the key logging callback should log line, followed by a newline. FIXME: Not re-entrant (ignores previous callback and resets it to nullFunPtr on exit)