Klasse TlsPassword

Alle implementierten Schnittstellen:
PointerInterface

public class TlsPassword extends PropertyHolder
An abstract interface representing a password used in TLS. Often used in
user interaction such as unlocking a key storage token.

https://docs.gtk.org/gio/class.TlsPassword.html

  • Konstruktordetails

    • TlsPassword

      public TlsPassword(PointerContainer pointer)
    • TlsPassword

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

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

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getDescription

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

      public int getFlags()
      Get flags about the password.
      Gibt zurück:
      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().
      Gibt zurück:
      The warning.
    • setDescription

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

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

      public void setFlags(int flags)
      Set flags about the password.
      Parameter:
      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().
      Parameter:
      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().
      Parameter:
      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()