nsIJAR

IID:04501DB2-0409-11d3-BCF8-00805F0E1353
Inherits From:nsISupports

Constants

PRInt16 NOT_SIGNED = 0
PRInt16 VALID = 1
PRInt16 INVALID_SIG = 2
PRInt16 INVALID_UNKNOWN_CA = 3
PRInt16 INVALID_MANIFEST = 4
PRInt16 INVALID_ENTRY = 5
PRInt16 NO_MANIFEST = 6

Properties

readonly PRUint32 manifestEntriesCount


Methods

void getCertificatePrincipal ( char* entryName , out nsIPrincipal principal )

void getCertificatePrincipal ( char* entryName , out nsIPrincipal principal )

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

Arguments:
entryName
principal

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com