Class TlsPassword

All Implemented Interfaces:
PointerInterface

public class TlsPassword extends Object
  • Constructor Details

    • TlsPassword

      public TlsPassword(PointerContainer pointer)
    • TlsPassword

      public TlsPassword(int flags, @Nonnull Str description)
      Create a new #GTlsPassword object.
      Parameters:
      flags - the password flags
      description - description of what the password is for
    • TlsPassword

      public TlsPassword(int flags, String description)
      Create a new #GTlsPassword object.
      Parameters:
      flags - the password flags
      description - description of what the password is for
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getDescription

      public Str getDescription()
      Get a description string about what the password will be used for.
      Returns:
      The description of the password.
    • getFlags

      public int getFlags()
      Get flags about the password.
      Returns:
      The flags about the password.
    • getWarning

      public Str getWarning()
      Get a user readable translated warning. Usually this warning is a
      representation of the password flags returned from
      g_tls_password_get_flags().
      Returns:
      The warning.
    • setDescription

      public void setDescription(@Nonnull Str description)
      Set a description string about what the password will be used for.
      Parameters:
      description - The description of the password
    • setDescription

      public void setDescription(String description)
      Set a description string about what the password will be used for.
      Parameters:
      description - The description of the password
    • setFlags

      public void setFlags(int flags)
      Set flags about the password.
      Parameters:
      flags - The flags about the password
    • setWarning

      public void setWarning(@Nonnull Str warning)
      Set a user readable translated warning. Usually this warning is a
      representation of the password flags returned from
      g_tls_password_get_flags().
      Parameters:
      warning - The user readable warning
    • setWarning

      public void setWarning(String warning)
      Set a user readable translated warning. Usually this warning is a
      representation of the password flags returned from
      g_tls_password_get_flags().
      Parameters:
      warning - The user readable warning
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()