Struct xpcom::interfaces::nsIASN1Object [] [src]

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

interface nsIASN1Object : nsISupports

/**
 * This represents an ASN.1 object,
 * where ASN.1 is "Abstract Syntax Notation number One".
 *
 * The additional state information carried in this interface
 * makes it fit for being used as the data structure
 * when working with visual reprenstation of ASN.1 objects
 * in a human user interface, like in a tree widget
 * where open/close state of nodes must be remembered.
 */

Methods

impl nsIASN1Object
[src]

[src]

Cast this nsIASN1Object to one of its base interfaces.

impl nsIASN1Object
[src]

ASN1_END_CONTENTS: i64 = 0
/**
   *  Identifiers for the possible types of object.
   */

ASN1_BOOLEAN: i64 = 1

ASN1_INTEGER: i64 = 2

ASN1_BIT_STRING: i64 = 3

ASN1_OCTET_STRING: i64 = 4

ASN1_NULL: i64 = 5

ASN1_OBJECT_ID: i64 = 6

ASN1_ENUMERATED: i64 = 10

ASN1_UTF8_STRING: i64 = 12

ASN1_SEQUENCE: i64 = 16

ASN1_SET: i64 = 17

ASN1_PRINTABLE_STRING: i64 = 19

ASN1_T61_STRING: i64 = 20

ASN1_IA5_STRING: i64 = 22

ASN1_UTC_TIME: i64 = 23

ASN1_GEN_TIME: i64 = 24

ASN1_VISIBLE_STRING: i64 = 26

ASN1_UNIVERSAL_STRING: i64 = 28

ASN1_BMP_STRING: i64 = 30

ASN1_HIGH_TAG_NUMBER: i64 = 31

ASN1_CONTEXT_SPECIFIC: i64 = 32

ASN1_APPLICATION: i64 = 33

ASN1_PRIVATE: i64 = 34

[src]

/**
   *  "type" will be equal to one of the defined object identifiers.
   */

attribute unsigned long type;

[src]

/**
   *  "type" will be equal to one of the defined object identifiers.
   */

attribute unsigned long type;

[src]

/**
   *  This contains a tag as explained in ASN.1 standards documents.
   */

attribute unsigned long tag;

[src]

/**
   *  This contains a tag as explained in ASN.1 standards documents.
   */

attribute unsigned long tag;

[src]

/**
   *  "displayName" contains a human readable explanatory label.
   */

attribute AString displayName;

[src]

/**
   *  "displayName" contains a human readable explanatory label.
   */

attribute AString displayName;

[src]

/**
   *  "displayValue" contains the human readable value.
   */

attribute AString displayValue;

[src]

/**
   *  "displayValue" contains the human readable value.
   */

attribute AString displayValue;

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 nsIASN1Object
[src]

IID: nsIID = nsID(3129734530, 7633, 4530, [137, 140, 244, 2, 70, 188, 154, 99])

[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 nsIASN1Object
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIASN1Object
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.