[uuid(04501db2-0409-11d3-bcf8-00805f0e1353)]
interface nsIJAR : nsISupports

Constants


          
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

Attributes


          
readonly attribute PRUint32 manifestEntriesCount

Methods

 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.
void getCertificatePrincipal(in string aEntryName, out nsIPrincipal aPrincipal)