Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
symmkey.c File Reference
#include "nsspki.h"

Go to the source code of this file.

Functions

NSS_IMPLEMENT PRStatus NSSSymmetricKey_Destroy (NSSSymmetricKey *mk)
NSS_IMPLEMENT PRStatus NSSSymmetricKey_DeleteStoredObject (NSSSymmetricKey *mk, NSSCallback *uhh)
NSS_IMPLEMENT PRUint32 NSSSymmetricKey_GetKeyLength (NSSSymmetricKey *mk)
NSS_IMPLEMENT PRUint32 NSSSymmetricKey_GetKeyStrength (NSSSymmetricKey *mk)
NSS_IMPLEMENT PRStatus NSSSymmetricKey_IsStillPresent (NSSSymmetricKey *mk)
NSS_IMPLEMENT NSSTrustDomain * NSSSymmetricKey_GetTrustDomain (NSSSymmetricKey *mk, PRStatus *statusOpt)
NSS_IMPLEMENT NSSToken * NSSSymmetricKey_GetToken (NSSSymmetricKey *mk, PRStatus *statusOpt)
NSS_IMPLEMENT NSSSlot * NSSSymmetricKey_GetSlot (NSSSymmetricKey *mk, PRStatus *statusOpt)
NSS_IMPLEMENT NSSModule * NSSSymmetricKey_GetModule (NSSSymmetricKey *mk, PRStatus *statusOpt)
NSS_IMPLEMENT NSSItem * NSSSymmetricKey_Encrypt (NSSSymmetricKey *mk, NSSAlgorithmAndParameters *apOpt, NSSItem *data, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSItem * NSSSymmetricKey_Decrypt (NSSSymmetricKey *mk, NSSAlgorithmAndParameters *apOpt, NSSItem *encryptedData, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSItem * NSSSymmetricKey_Sign (NSSSymmetricKey *mk, NSSAlgorithmAndParameters *apOpt, NSSItem *data, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSItem * NSSSymmetricKey_SignRecover (NSSSymmetricKey *mk, NSSAlgorithmAndParameters *apOpt, NSSItem *data, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT PRStatus NSSSymmetricKey_Verify (NSSSymmetricKey *mk, NSSAlgorithmAndParameters *apOpt, NSSItem *data, NSSItem *signature, NSSCallback *uhh)
NSS_IMPLEMENT NSSItem * NSSSymmetricKey_VerifyRecover (NSSSymmetricKey *mk, NSSAlgorithmAndParameters *apOpt, NSSItem *signature, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSItem * NSSSymmetricKey_WrapSymmetricKey (NSSSymmetricKey *wrappingKey, NSSAlgorithmAndParameters *apOpt, NSSSymmetricKey *keyToWrap, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSItem * NSSSymmetricKey_WrapPrivateKey (NSSSymmetricKey *wrappingKey, NSSAlgorithmAndParameters *apOpt, NSSPrivateKey *keyToWrap, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSSymmetricKey * NSSSymmetricKey_UnwrapSymmetricKey (NSSSymmetricKey *wrappingKey, NSSAlgorithmAndParameters *apOpt, NSSItem *wrappedKey, NSSOID *target, PRUint32 keySizeOpt, NSSOperations operations, NSSCallback *uhh)
NSS_IMPLEMENT NSSPrivateKey * NSSSymmetricKey_UnwrapPrivateKey (NSSSymmetricKey *wrappingKey, NSSAlgorithmAndParameters *apOpt, NSSItem *wrappedKey, NSSUTF8 *labelOpt, NSSItem *keyIDOpt, PRBool persistant, PRBool sensitive, NSSToken *destinationOpt, NSSCallback *uhh)
NSS_IMPLEMENT NSSSymmetricKey * NSSSymmetricKey_DeriveSymmetricKey (NSSSymmetricKey *originalKey, NSSAlgorithmAndParameters *apOpt, NSSOID *target, PRUint32 keySizeOpt, NSSOperations operations, NSSCallback *uhh)
NSS_IMPLEMENT NSSCryptoContext * NSSSymmetricKey_CreateCryptoContext (NSSSymmetricKey *mk, NSSAlgorithmAndParameters *apOpt, NSSCallback *uhh)

Variables

const NSSError NSS_ERROR_NOT_FOUND

Function Documentation

NSS_IMPLEMENT NSSCryptoContext* NSSSymmetricKey_CreateCryptoContext ( NSSSymmetricKey *  mk,
NSSAlgorithmAndParameters *  apOpt,
NSSCallback *  uhh 
)

Definition at line 291 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSItem* NSSSymmetricKey_Decrypt ( NSSSymmetricKey *  mk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  encryptedData,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 148 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT PRStatus NSSSymmetricKey_DeleteStoredObject ( NSSSymmetricKey *  mk,
NSSCallback *  uhh 
)

Definition at line 57 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSSymmetricKey* NSSSymmetricKey_DeriveSymmetricKey ( NSSSymmetricKey *  originalKey,
NSSAlgorithmAndParameters *  apOpt,
NSSOID *  target,
PRUint32  keySizeOpt,
NSSOperations  operations,
NSSCallback *  uhh 
)

Definition at line 277 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT PRStatus NSSSymmetricKey_Destroy ( NSSSymmetricKey *  mk)

Definition at line 48 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSItem* NSSSymmetricKey_Encrypt ( NSSSymmetricKey *  mk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  data,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 134 of file symmkey.c.

Here is the call graph for this function:

Definition at line 67 of file symmkey.c.

Here is the call graph for this function:

Definition at line 76 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSModule* NSSSymmetricKey_GetModule ( NSSSymmetricKey *  mk,
PRStatus statusOpt 
)

Definition at line 124 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSSlot* NSSSymmetricKey_GetSlot ( NSSSymmetricKey *  mk,
PRStatus statusOpt 
)

Definition at line 114 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSToken* NSSSymmetricKey_GetToken ( NSSSymmetricKey *  mk,
PRStatus statusOpt 
)

Definition at line 104 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSTrustDomain* NSSSymmetricKey_GetTrustDomain ( NSSSymmetricKey *  mk,
PRStatus statusOpt 
)

Definition at line 94 of file symmkey.c.

Here is the call graph for this function:

Definition at line 85 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSItem* NSSSymmetricKey_Sign ( NSSSymmetricKey *  mk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  data,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 162 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSItem* NSSSymmetricKey_SignRecover ( NSSSymmetricKey *  mk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  data,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 176 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSPrivateKey* NSSSymmetricKey_UnwrapPrivateKey ( NSSSymmetricKey *  wrappingKey,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  wrappedKey,
NSSUTF8 labelOpt,
NSSItem *  keyIDOpt,
PRBool  persistant,
PRBool  sensitive,
NSSToken *  destinationOpt,
NSSCallback *  uhh 
)

Definition at line 260 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSSymmetricKey* NSSSymmetricKey_UnwrapSymmetricKey ( NSSSymmetricKey *  wrappingKey,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  wrappedKey,
NSSOID *  target,
PRUint32  keySizeOpt,
NSSOperations  operations,
NSSCallback *  uhh 
)

Definition at line 245 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT PRStatus NSSSymmetricKey_Verify ( NSSSymmetricKey *  mk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  data,
NSSItem *  signature,
NSSCallback *  uhh 
)

Definition at line 190 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSItem* NSSSymmetricKey_VerifyRecover ( NSSSymmetricKey *  mk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  signature,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 203 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSItem* NSSSymmetricKey_WrapPrivateKey ( NSSSymmetricKey *  wrappingKey,
NSSAlgorithmAndParameters *  apOpt,
NSSPrivateKey *  keyToWrap,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 231 of file symmkey.c.

Here is the call graph for this function:

NSS_IMPLEMENT NSSItem* NSSSymmetricKey_WrapSymmetricKey ( NSSSymmetricKey *  wrappingKey,
NSSAlgorithmAndParameters *  apOpt,
NSSSymmetricKey *  keyToWrap,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 217 of file symmkey.c.

Here is the call graph for this function:


Variable Documentation

Definition at line 80 of file errorval.c.