Gjsify LogoGjsify Logo

Index

Variables

CONFIG_DBUS_TIMEOUTS: string

A prefix for dbus timeout keys. Should be used only when defining new keys.

CONFIG_GENERAL: string

A prefix for general keys. Should be used only when defining new keys.

Functions

  • generateNonce(): string
  • This function generates a random secure nonce using SHA1 HMAC.

    Returns string

  • isHostInDomain(host: string, domain: string): boolean
  • Checks if host belongs to domain.

    Parameters

    • host: string

      a host name

    • domain: string

      a domain name

    Returns boolean

  • newIoStreamFromFd(inFd: number, outFd: number, closeFds: boolean): IOStream
  • Create a #GIOStream from two file descriptors

    Parameters

    • inFd: number

      a UNIX file descriptor

    • outFd: number

      a UNIX file descriptor

    • closeFds: boolean

      %TRUE to close the file descriptor when done

    Returns IOStream

  • sequenceToArray(seq: Sequence): string[]
  • Convert sequence of strings to null-terminated string array.

    Parameters

    • seq: Sequence

      Sequence of strings to convert

    Returns string[]

  • wipeDirectory(dirname: string): boolean
  • This function securely wipes the contents of the directory by calling gsignond_wipe_file() on each file. It also removes links and empty directories but does not recursively wipe them.

    Parameters

    • dirname: string

      directory to wipe

    Returns boolean

  • wipeFile(filename: string): boolean
  • This function securely wipes the contents of the file, by overwriting it with 0's, then 1's, then random data. The file is then removed.

    Parameters

    • filename: string

      filename to wipe

    Returns boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method