Gjsify LogoGjsify Logo

Hierarchy

  • PasswordRequestFunc

Callable

  • PasswordRequestFunc(ctx: CryptoContext, userId: string, prompt: string, reprompt: boolean, response: GMime.Stream): boolean
  • A password request callback allowing a #GMimeCryptoContext to prompt the user for a password for a given key.

    Parameters

    • ctx: CryptoContext

      the #GMimeCryptoContext making the request

    • userId: string

      the user_id of the password being requested

    • prompt: string

      a string containing some helpful context for the prompt

    • reprompt: boolean

      %TRUE if this password request is a reprompt due to a previously bad password response

    • response: GMime.Stream

      a stream for the application to write the password to (followed by a newline '\n' character)

    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