Domain

Domain

  1. Additions to Error objects
  2. Implicit Binding
  3. Explicit Binding
  4. domain.create()
  5. Class: Domain
  6. domain.run(fn)
  7. domain.members
  8. domain.add(emitter)
  9. domain.remove(emitter)
  10. domain.bind(cb)
  11. Example
  12. domain.intercept(cb)
  13. Example
  14. domain.dispose()

    Crypto

  15. crypto.createCredentials(details)
  16. crypto.createHash(algorithm)
  17. Class: Hash
  18. hash.update(data, [input_encoding])
  19. hash.digest([encoding])
  20. crypto.createHmac(algorithm, key)
  21. Class: Hmac
  22. hmac.update(data)
  23. hmac.digest([encoding])
  24. crypto.createCipher(algorithm, password)
  25. crypto.createCipheriv(algorithm, key, iv)
  26. Class: Cipher
  27. cipher.update(data, [input_encoding], [output_encoding])
  28. cipher.final([output_encoding])
  29. cipher.setAutoPadding(auto_padding=true)
  30. crypto.createDecipher(algorithm, password)
  31. crypto.createDecipheriv(algorithm, key, iv)
  32. Class: Decipher
  33. decipher.update(data, [input_encoding], [output_encoding])
  34. decipher.final([output_encoding])
  35. decipher.setAutoPadding(auto_padding=true)
  36. crypto.createSign(algorithm)
  37. Class: Signer
  38. signer.update(data)
  39. signer.sign(private_key, [output_format])
  40. crypto.createVerify(algorithm)
  41. Class: Verify
  42. verifier.update(data)
  43. verifier.verify(object, signature, [signature_format])
  44. crypto.createDiffieHellman(prime_length)
  45. crypto.createDiffieHellman(prime, [encoding])
  46. Class: DiffieHellman
  47. diffieHellman.generateKeys([encoding])
  48. diffieHellman.computeSecret(other_public_key, [input_encoding], [output_encoding])
  49. diffieHellman.getPrime([encoding])
  50. diffieHellman.getGenerator([encoding])
  51. diffieHellman.getPublicKey([encoding])
  52. diffieHellman.getPrivateKey([encoding])
  53. diffieHellman.setPublicKey(public_key, [encoding])
  54. diffieHellman.setPrivateKey(public_key, [encoding])
  55. crypto.getDiffieHellman(group_name)
  56. crypto.pbkdf2(password, salt, iterations, keylen, callback)
  57. crypto.randomBytes(size, [callback])

TSL(SSL)

  1. Client-initiated renegotiation attack mitigation
  2. NPN and SNI
  3. tls.createServer(options, [secureConnectionListener])
  4. tls.connect(options, [secureConnectListener])
  5. tls.connect(port, [host], [options], [secureConnectListener])
  6. tls.createSecurePair([credentials], [isServer], [requestCert], [rejectUnauthorized])
  7. Class: SecurePair
  8. Event: ‘secure’
  9. Class: tls.Server
  10. Event: ‘secureConnection’
  11. Event: ‘clientError’
  12. server.listen(port, [host], [callback])
  13. server.close()
  14. server.address()
  15. server.addContext(hostname, credentials)
  16. server.maxConnections
  17. server.connections
  18. Class: tls.CleartextStream
  19. Event: ‘secureConnect’
  20. cleartextStream.authorized
  21. cleartextStream.authorizationError
  22. cleartextStream.getPeerCertificate()
  23. cleartextStream.getCipher()
  24. cleartextStream.address()
  25. cleartextStream.remoteAddress
  26. cleartextStream.remotePort

StringDecoder

  1. Class: StringDecoder
  2. StringDecoder.write(buffer)

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *