Back to index

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

import "nsIHash.idl";

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

List of all members.

Public Member Functions

unsigned long resultLen (in short aAlg)
void create (in short aAlg)
void begin ()
void update (in UnsignedCharPtr aBuf, in unsigned long aLen)
void end (in UnsignedCharPtr aHash, out unsigned long aLen, in unsigned long aMaxLen)

Public Attributes

const short HASH_AlgNULL = 0
const short HASH_AlgMD2 = 1
const short HASH_AlgMD5 = 2
const short HASH_AlgSHA1 = 3
const unsigned long MD2_LEN = 16
const unsigned long MD5_LEN = 16
const unsigned long SHA1_LEN = 20
const unsigned long MAX_HASH_LEN = SHA1_LEN

Detailed Description

Definition at line 51 of file nsIHash.idl.


Member Function Documentation

void nsIHash::create ( in short  aAlg)
void nsIHash::end ( in UnsignedCharPtr  aHash,
out unsigned long  aLen,
in unsigned long  aMaxLen 
)
unsigned long nsIHash::resultLen ( in short  aAlg)
void nsIHash::update ( in UnsignedCharPtr  aBuf,
in unsigned long  aLen 
)

Member Data Documentation

Definition at line 54 of file nsIHash.idl.

Definition at line 55 of file nsIHash.idl.

Definition at line 53 of file nsIHash.idl.

Definition at line 56 of file nsIHash.idl.

Definition at line 60 of file nsIHash.idl.

const unsigned long nsIHash::MD2_LEN = 16

Definition at line 57 of file nsIHash.idl.

const unsigned long nsIHash::MD5_LEN = 16

Definition at line 58 of file nsIHash.idl.

const unsigned long nsIHash::SHA1_LEN = 20

Definition at line 59 of file nsIHash.idl.


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