Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. data ValidationHooks

    tls Network.TLS

    A set of hooks to manipulate the way the verification works. BEWARE, it's easy to change behavior leading to compromised security.

  2. ValidationHooks :: (DistinguishedName -> Certificate -> Bool) -> (DateTime -> Certificate -> [FailedReason]) -> (HostName -> Certificate -> [FailedReason]) -> ([FailedReason] -> [FailedReason]) -> ValidationHooks

    tls Network.TLS

    No documentation available.

  3. checkTimeValidity :: ValidationChecks -> Bool

    tls Network.TLS

    check time validity of every certificate in the chain. the make sure that current time is between each validity bounds in the certificate

  4. cipherID :: Cipher -> CipherID

    tls Network.TLS

    No documentation available.

  5. clientServerIdentification :: ClientParams -> (HostName, ByteString)

    tls Network.TLS

    Define the name of the server, along with an extra service identification blob. this is important that the hostname part is properly filled for security reason, as it allow to properly associate the remote side with the given certificate during a handshake. The extra blob is useful to differentiate services running on the same host, but that might have different certificates given. It's only used as part of the X509 validation infrastructure. This value is typically set by defaultParamsClient.

  6. compressionCID :: CompressionC a => a -> CompressionID

    tls Network.TLS

    No documentation available.

  7. defaultValidationCache :: ValidationCache

    tls Network.TLS

    No documentation available.

  8. exceptionValidationCache :: [(ServiceID, Fingerprint)] -> ValidationCache

    tls Network.TLS

    create a simple constant cache that list exceptions to the certification validation. Typically this is use to allow self-signed certificates for specific use, with out-of-bounds user checks. No fingerprints will be added after the instance is created. The underlying structure for the check is kept as a list, as usually the exception list will be short, but when the list go above a dozen exceptions it's recommended to use another cache mechanism with a faster lookup mechanism (hashtable, map, etc). Note that only one fingerprint is allowed per ServiceID, for other use, another cache mechanism need to be use.

  9. hookValidateName :: ValidationHooks -> HostName -> Certificate -> [FailedReason]

    tls Network.TLS

    validate the certificate leaf name with the DNS named used to connect

  10. hookValidateTime :: ValidationHooks -> DateTime -> Certificate -> [FailedReason]

    tls Network.TLS

    check whether the certificate in the second argument is valid at the time provided in the first argument. Return an empty list for success or else one or more failure reasons.

Page 656 of many | Previous | Next