Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIJAR Interface Reference

import "nsIJAR.idl";

Inheritance diagram for nsIJAR:
Inheritance graph
[legend]
Collaboration diagram for nsIJAR:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void getCertificatePrincipal (in string aEntryName, out nsIPrincipal aPrincipal)
 Returns an object describing the entity which signed an entry.

Public Attributes

const short NOT_SIGNED = 0
const short VALID = 1
const short INVALID_SIG = 2
const short INVALID_UNKNOWN_CA = 3
const short INVALID_MANIFEST = 4
const short INVALID_ENTRY = 5
const short NO_MANIFEST = 6
readonly attribute PRUint32 manifestEntriesCount

Detailed Description

Definition at line 78 of file nsIJAR.idl.


Member Function Documentation

void nsIJAR::getCertificatePrincipal ( in string  aEntryName,
out nsIPrincipal  aPrincipal 
)

Returns an object describing the entity which signed an entry.

parseManifest must be called first. If aEntryName is an entry in the jar, getInputStream must be called after parseManifest. If aEntryName is an external file which has meta-information stored in the jar, verifyExternalFile (not yet implemented) must be called before getPrincipal.


Member Data Documentation

Definition at line 86 of file nsIJAR.idl.

Definition at line 85 of file nsIJAR.idl.

Definition at line 83 of file nsIJAR.idl.

Definition at line 84 of file nsIJAR.idl.

Definition at line 99 of file nsIJAR.idl.

Definition at line 87 of file nsIJAR.idl.

Definition at line 81 of file nsIJAR.idl.

const short nsIJAR::VALID = 1

Definition at line 82 of file nsIJAR.idl.


The documentation for this interface was generated from the following file: