Class: Gio::MountOperation

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#anonymousTrueClass

Check to see whether the mount operation is being used for an anonymous user.

Returns:

  • (TrueClass)

    true if mount operation is anonymous.

#anonymous=(anonymous) ⇒ TrueClass

Whether to use an anonymous user when authenticating.

Parameters:

  • anonymous (TrueClass)

Returns:

  • (TrueClass)

    anonymous

  • (TrueClass)

    anonymous

#anonymous?TrueClass

Whether to use an anonymous user when authenticating.

Returns:

  • (TrueClass)

    anonymous

#choiceInteger

The index of the user’s choice when a question is asked during the mount operation. See the GMount::Operation::ask-question signal.

Returns:

  • (Integer)

    choice

#choice=(choice) ⇒ Integer

The index of the user’s choice when a question is asked during the mount operation. See the GMount::Operation::ask-question signal.

Parameters:

  • choice (Integer)

Returns:

  • (Integer)

    choice

  • (Integer)

    choice

#domainString

The domain to use for the mount operation.

Returns:

  • (String)

    domain

#domain=(domain) ⇒ String

The domain to use for the mount operation.

Parameters:

  • domain (String)

Returns:

  • (String)

    domain

  • (String)

    domain

#is_tcrypt_hidden_volumeTrueClass

Check to see whether the mount operation is being used for a TCRYPT hidden volume.

Returns:

  • (TrueClass)

    true if mount operation is for hidden volume.

#is_tcrypt_hidden_volume=(is_tcrypt_hidden_volume) ⇒ TrueClass

Whether the device to be unlocked is a TCRYPT hidden volume. See [the VeraCrypt documentation](www.veracrypt.fr/en/Hidden%20Volume.html).

Parameters:

  • is_tcrypt_hidden_volume (TrueClass)

Returns:

  • (TrueClass)

    is-tcrypt-hidden-volume

  • (TrueClass)

    is-tcrypt-hidden-volume

#is_tcrypt_hidden_volume?TrueClass

Whether the device to be unlocked is a TCRYPT hidden volume. See [the VeraCrypt documentation](www.veracrypt.fr/en/Hidden%20Volume.html).

Returns:

  • (TrueClass)

    is-tcrypt-hidden-volume

#is_tcrypt_system_volumeTrueClass

Check to see whether the mount operation is being used for a TCRYPT system volume.

Returns:

  • (TrueClass)

    true if mount operation is for system volume.

#is_tcrypt_system_volume=(is_tcrypt_system_volume) ⇒ TrueClass

Whether the device to be unlocked is a TCRYPT system volume. In this context, a system volume is a volume with a bootloader and operating system installed. This is only supported for Windows operating systems. For further documentation, see [the VeraCrypt documentation](www.veracrypt.fr/en/System%20Encryption.html).

Parameters:

  • is_tcrypt_system_volume (TrueClass)

Returns:

  • (TrueClass)

    is-tcrypt-system-volume

  • (TrueClass)

    is-tcrypt-system-volume

#is_tcrypt_system_volume?TrueClass

Whether the device to be unlocked is a TCRYPT system volume. In this context, a system volume is a volume with a bootloader and operating system installed. This is only supported for Windows operating systems. For further documentation, see [the VeraCrypt documentation](www.veracrypt.fr/en/System%20Encryption.html).

Returns:

  • (TrueClass)

    is-tcrypt-system-volume

#newGio::MountOperation

Creates a new mount operation.

Returns:

#passwordString

The password that is used for authentication when carrying out the mount operation.

Returns:

  • (String)

    password

#password=(password) ⇒ String

The password that is used for authentication when carrying out the mount operation.

Parameters:

  • password (String)

Returns:

  • (String)

    password

  • (String)

    password

#password_saveGio::PasswordSave

Determines if and how the password information should be saved.

Returns:

#password_save=(password_save) ⇒ Gio::PasswordSave

Determines if and how the password information should be saved.

Parameters:

Returns:

#pimInteger

The VeraCrypt PIM value, when unlocking a VeraCrypt volume. See [the VeraCrypt documentation](www.veracrypt.fr/en/Personal%20Iterations%20Multiplier%20(PIM).html).

Returns:

  • (Integer)

    pim

#pim=(pim) ⇒ Integer

The VeraCrypt PIM value, when unlocking a VeraCrypt volume. See [the VeraCrypt documentation](www.veracrypt.fr/en/Personal%20Iterations%20Multiplier%20(PIM).html).

Parameters:

  • pim (Integer)

Returns:

  • (Integer)

    pim

  • (Integer)

    pim

#reply(result) ⇒ nil

Emits the GMount::Operation::reply signal.

Parameters:

Returns:

  • (nil)

#usernameString

The user name that is used for authentication when carrying out the mount operation.

Returns:

  • (String)

    username

#username=(username) ⇒ String

The user name that is used for authentication when carrying out the mount operation.

Parameters:

  • username (String)

Returns:

  • (String)

    username

  • (String)

    username