Struct xpcom::interfaces::nsIPK11Token [] [src]

#[repr(C)]
pub struct nsIPK11Token { /* fields omitted */ }

interface nsIPK11Token : nsISupports

Methods

impl nsIPK11Token
[src]

[src]

Cast this nsIPK11Token to one of its base interfaces.

impl nsIPK11Token
[src]

[src]

[must_use] readonly attribute AUTF8String tokenName;

[src]

[must_use] readonly attribute AUTF8String tokenLabel;

[src]

/**
   * Manufacturer ID of the token.
   */

[must_use] readonly attribute AUTF8String tokenManID;

[src]

/**
   * Hardware version of the token.
   */

[must_use] readonly attribute AUTF8String tokenHWVersion;

[src]

/**
   * Firmware version of the token.
   */

[must_use] readonly attribute AUTF8String tokenFWVersion;

[src]

[must_use] readonly attribute AUTF8String tokenSerialNumber;

[src]

[must_use] boolean isLoggedIn ();

[src]

[must_use] void login (in boolean force);

[src]

[must_use] void logoutSimple ();

[src]

[must_use] void logoutAndDropAuthenticatedResources ();

[src]

[must_use] boolean needsLogin ();

[src]

[must_use] readonly attribute boolean needsUserInit;

[src]

[must_use] void reset ();

[src]

/**
   * Checks whether the given password is correct. Logs the token out if an
   * incorrect password is given.
   *
   * @param password The password to check.
   * @return true if the password was correct, false otherwise.
   */

[must_use] boolean checkPassword (in AUTF8String password);

[src]

[must_use] void initPassword (in AUTF8String initialPassword);

[src]

[must_use] void changePassword (in AUTF8String oldPassword, in AUTF8String newPassword);

[src]

[must_use] readonly attribute boolean hasPassword;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIPK11Token
[src]

IID: nsIID = nsID(1360598068, 7634, 4530, [161, 124, 228, 156, 78, 153, 164, 227])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIPK11Token
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPK11Token
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.