Struct xpcom::interfaces::nsIASN1Sequence [] [src]

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

interface nsIASN1Sequence : nsIASN1Object

/**
 * This represents a sequence of ASN.1 objects,
 * where ASN.1 is "Abstract Syntax Notation number One".
 *
 * Overview of how this ASN1 interface is intended to
 * work.
 *
 * First off, the nsIASN1Sequence is any type in ASN1
 * that consists of sub-elements (ie SEQUENCE, SET)
 * nsIASN1Printable Items are all the other types that
 * can be viewed by themselves without interpreting further.
 * Examples would include INTEGER, UTF-8 STRING, OID.
 * These are not intended to directly reflect the numberous
 * types that exist in ASN1, but merely an interface to ease
 * producing a tree display the ASN1 structure of any DER
 * object.
 *
 * 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 nsIASN1Sequence
[src]

[src]

Cast this nsIASN1Sequence to one of its base interfaces.

impl nsIASN1Sequence
[src]

[src]

/**
   *  The array of objects stored in the sequence.
   */

attribute nsIMutableArray ASN1Objects;

[src]

/**
   *  The array of objects stored in the sequence.
   */

attribute nsIMutableArray ASN1Objects;

[src]

/**
   *  Whether the node at this position in the ASN.1 data structure
   *  sequence contains sub elements understood by the
   *  application.
   */

attribute boolean isValidContainer;

[src]

/**
   *  Whether the node at this position in the ASN.1 data structure
   *  sequence contains sub elements understood by the
   *  application.
   */

attribute boolean isValidContainer;

[src]

/**
   *  Whether the contained objects should be shown or hidden.
   *  A UI implementation can use this flag to store the current
   *  expansion state when shown in a tree widget.
   */

attribute boolean isExpanded;

[src]

/**
   *  Whether the contained objects should be shown or hidden.
   *  A UI implementation can use this flag to store the current
   *  expansion state when shown in a tree widget.
   */

attribute boolean isExpanded;

Methods from Deref<Target = nsIASN1Object>

[src]

Cast this nsIASN1Object to one of its base interfaces.

[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;

Trait Implementations

impl XpCom for nsIASN1Sequence
[src]

IID: nsIID = nsID(3065599974, 7633, 4530, [137, 215, 227, 6, 36, 245, 11, 0])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIASN1Sequence
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.