Back to index

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

Go to the source code of this file.

Functions

NSS_IMPLEMENT PRStatus NSSPrivateKey_Destroy (NSSPrivateKey *vk)
 fgmr -- trust objects
NSS_IMPLEMENT PRStatus NSSPrivateKey_DeleteStoredObject (NSSPrivateKey *vk, NSSCallback *uhh)
NSS_IMPLEMENT PRUint32 NSSPrivateKey_GetSignatureLength (NSSPrivateKey *vk)
NSS_IMPLEMENT PRUint32 NSSPrivateKey_GetPrivateModulusLength (NSSPrivateKey *vk)
NSS_IMPLEMENT PRBool NSSPrivateKey_IsStillPresent (NSSPrivateKey *vk, PRStatus *statusOpt)
NSS_IMPLEMENT NSSItem * NSSPrivateKey_Encode (NSSPrivateKey *vk, NSSAlgorithmAndParameters *ap, NSSItem *passwordOpt, NSSCallback *uhhOpt, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSTrustDomain * NSSPrivateKey_GetTrustDomain (NSSPrivateKey *vk, PRStatus *statusOpt)
NSS_IMPLEMENT NSSToken * NSSPrivateKey_GetToken (NSSPrivateKey *vk)
NSS_IMPLEMENT NSSSlot * NSSPrivateKey_GetSlot (NSSPrivateKey *vk)
NSS_IMPLEMENT NSSModule * NSSPrivateKey_GetModule (NSSPrivateKey *vk)
NSS_IMPLEMENT NSSItem * NSSPrivateKey_Decrypt (NSSPrivateKey *vk, NSSAlgorithmAndParameters *apOpt, NSSItem *encryptedData, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSItem * NSSPrivateKey_Sign (NSSPrivateKey *vk, NSSAlgorithmAndParameters *apOpt, NSSItem *data, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSItem * NSSPrivateKey_SignRecover (NSSPrivateKey *vk, NSSAlgorithmAndParameters *apOpt, NSSItem *data, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSSymmetricKey * NSSPrivateKey_UnwrapSymmetricKey (NSSPrivateKey *vk, NSSAlgorithmAndParameters *apOpt, NSSItem *wrappedKey, NSSCallback *uhh)
NSS_IMPLEMENT NSSSymmetricKey * NSSPrivateKey_DeriveSymmetricKey (NSSPrivateKey *vk, NSSPublicKey *bk, NSSAlgorithmAndParameters *apOpt, NSSOID *target, PRUint32 keySizeOpt, NSSOperations operations, NSSCallback *uhh)
NSS_IMPLEMENT NSSPublicKey * NSSPrivateKey_FindPublicKey (NSSPrivateKey *vk)
NSS_IMPLEMENT NSSCryptoContext * NSSPrivateKey_CreateCryptoContext (NSSPrivateKey *vk, NSSAlgorithmAndParameters *apOpt, NSSCallback *uhh)
NSS_IMPLEMENT NSSCertificate ** NSSPrivateKey_FindCertificates (NSSPrivateKey *vk, NSSCertificate *rvOpt[], PRUint32 maximumOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSCertificate * NSSPrivateKey_FindBestCertificate (NSSPrivateKey *vk, NSSTime *timeOpt, NSSUsage *usageOpt, NSSPolicies *policiesOpt)
NSS_IMPLEMENT PRStatus NSSPublicKey_Destroy (NSSPublicKey *bk)
NSS_IMPLEMENT PRStatus NSSPublicKey_DeleteStoredObject (NSSPublicKey *bk, NSSCallback *uhh)
NSS_IMPLEMENT NSSItem * NSSPublicKey_Encode (NSSPublicKey *bk, NSSAlgorithmAndParameters *ap, NSSCallback *uhhOpt, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSTrustDomain * NSSPublicKey_GetTrustDomain (NSSPublicKey *bk, PRStatus *statusOpt)
NSS_IMPLEMENT NSSToken * NSSPublicKey_GetToken (NSSPublicKey *bk, PRStatus *statusOpt)
NSS_IMPLEMENT NSSSlot * NSSPublicKey_GetSlot (NSSPublicKey *bk, PRStatus *statusOpt)
NSS_IMPLEMENT NSSModule * NSSPublicKey_GetModule (NSSPublicKey *bk, PRStatus *statusOpt)
NSS_IMPLEMENT NSSItem * NSSPublicKey_Encrypt (NSSPublicKey *bk, NSSAlgorithmAndParameters *apOpt, NSSItem *data, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT PRStatus NSSPublicKey_Verify (NSSPublicKey *bk, NSSAlgorithmAndParameters *apOpt, NSSItem *data, NSSItem *signature, NSSCallback *uhh)
NSS_IMPLEMENT NSSItem * NSSPublicKey_VerifyRecover (NSSPublicKey *bk, NSSAlgorithmAndParameters *apOpt, NSSItem *signature, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSItem * NSSPublicKey_WrapSymmetricKey (NSSPublicKey *bk, NSSAlgorithmAndParameters *apOpt, NSSSymmetricKey *keyToWrap, NSSCallback *uhh, NSSItem *rvOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSCryptoContext * NSSPublicKey_CreateCryptoContext (NSSPublicKey *bk, NSSAlgorithmAndParameters *apOpt, NSSCallback *uhh)
NSS_IMPLEMENT NSSCertificate ** NSSPublicKey_FindCertificates (NSSPublicKey *bk, NSSCertificate *rvOpt[], PRUint32 maximumOpt, NSSArena *arenaOpt)
NSS_IMPLEMENT NSSCertificate * NSSPublicKey_FindBestCertificate (NSSPublicKey *bk, NSSTime *timeOpt, NSSUsage *usageOpt, NSSPolicies *policiesOpt)
NSS_IMPLEMENT NSSPrivateKey * NSSPublicKey_FindPrivateKey (NSSPublicKey *bk, NSSCallback *uhh)

Variables

const NSSError NSS_ERROR_NOT_FOUND

Function Documentation

NSS_IMPLEMENT NSSCryptoContext* NSSPrivateKey_CreateCryptoContext ( NSSPrivateKey *  vk,
NSSAlgorithmAndParameters *  apOpt,
NSSCallback *  uhh 
)

Definition at line 229 of file asymmkey.c.

NSS_IMPLEMENT NSSItem* NSSPrivateKey_Decrypt ( NSSPrivateKey *  vk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  encryptedData,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 150 of file asymmkey.c.

NSS_IMPLEMENT PRStatus NSSPrivateKey_DeleteStoredObject ( NSSPrivateKey *  vk,
NSSCallback *  uhh 
)

Definition at line 61 of file asymmkey.c.

NSS_IMPLEMENT NSSSymmetricKey* NSSPrivateKey_DeriveSymmetricKey ( NSSPrivateKey *  vk,
NSSPublicKey *  bk,
NSSAlgorithmAndParameters *  apOpt,
NSSOID *  target,
PRUint32  keySizeOpt,
NSSOperations  operations,
NSSCallback *  uhh 
)

Definition at line 204 of file asymmkey.c.

NSS_IMPLEMENT PRStatus NSSPrivateKey_Destroy ( NSSPrivateKey *  vk)

fgmr -- trust objects

Definition at line 52 of file asymmkey.c.

NSS_IMPLEMENT NSSItem* NSSPrivateKey_Encode ( NSSPrivateKey *  vk,
NSSAlgorithmAndParameters *  ap,
NSSItem *  passwordOpt,
NSSCallback *  uhhOpt,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 99 of file asymmkey.c.

NSS_IMPLEMENT NSSCertificate* NSSPrivateKey_FindBestCertificate ( NSSPrivateKey *  vk,
NSSTime *  timeOpt,
NSSUsage *  usageOpt,
NSSPolicies *  policiesOpt 
)

Definition at line 252 of file asymmkey.c.

NSS_IMPLEMENT NSSCertificate** NSSPrivateKey_FindCertificates ( NSSPrivateKey *  vk,
NSSCertificate *  rvOpt[],
PRUint32  maximumOpt,
NSSArena *  arenaOpt 
)

Definition at line 240 of file asymmkey.c.

NSS_IMPLEMENT NSSPublicKey* NSSPrivateKey_FindPublicKey ( NSSPrivateKey *  vk)

Definition at line 219 of file asymmkey.c.

NSS_IMPLEMENT NSSModule* NSSPrivateKey_GetModule ( NSSPrivateKey *  vk)

Definition at line 141 of file asymmkey.c.

Definition at line 80 of file asymmkey.c.

Definition at line 71 of file asymmkey.c.

NSS_IMPLEMENT NSSSlot* NSSPrivateKey_GetSlot ( NSSPrivateKey *  vk)

Definition at line 132 of file asymmkey.c.

NSS_IMPLEMENT NSSToken* NSSPrivateKey_GetToken ( NSSPrivateKey *  vk)

Definition at line 123 of file asymmkey.c.

NSS_IMPLEMENT NSSTrustDomain* NSSPrivateKey_GetTrustDomain ( NSSPrivateKey *  vk,
PRStatus statusOpt 
)

Definition at line 113 of file asymmkey.c.

NSS_IMPLEMENT PRBool NSSPrivateKey_IsStillPresent ( NSSPrivateKey *  vk,
PRStatus statusOpt 
)

Definition at line 89 of file asymmkey.c.

NSS_IMPLEMENT NSSItem* NSSPrivateKey_Sign ( NSSPrivateKey *  vk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  data,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 164 of file asymmkey.c.

NSS_IMPLEMENT NSSItem* NSSPrivateKey_SignRecover ( NSSPrivateKey *  vk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  data,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 178 of file asymmkey.c.

NSS_IMPLEMENT NSSSymmetricKey* NSSPrivateKey_UnwrapSymmetricKey ( NSSPrivateKey *  vk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  wrappedKey,
NSSCallback *  uhh 
)

Definition at line 192 of file asymmkey.c.

NSS_IMPLEMENT NSSCryptoContext* NSSPublicKey_CreateCryptoContext ( NSSPublicKey *  bk,
NSSAlgorithmAndParameters *  apOpt,
NSSCallback *  uhh 
)

Definition at line 391 of file asymmkey.c.

NSS_IMPLEMENT PRStatus NSSPublicKey_DeleteStoredObject ( NSSPublicKey *  bk,
NSSCallback *  uhh 
)

Definition at line 273 of file asymmkey.c.

Definition at line 264 of file asymmkey.c.

NSS_IMPLEMENT NSSItem* NSSPublicKey_Encode ( NSSPublicKey *  bk,
NSSAlgorithmAndParameters *  ap,
NSSCallback *  uhhOpt,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 283 of file asymmkey.c.

NSS_IMPLEMENT NSSItem* NSSPublicKey_Encrypt ( NSSPublicKey *  bk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  data,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 336 of file asymmkey.c.

NSS_IMPLEMENT NSSCertificate* NSSPublicKey_FindBestCertificate ( NSSPublicKey *  bk,
NSSTime *  timeOpt,
NSSUsage *  usageOpt,
NSSPolicies *  policiesOpt 
)

Definition at line 414 of file asymmkey.c.

NSS_IMPLEMENT NSSCertificate** NSSPublicKey_FindCertificates ( NSSPublicKey *  bk,
NSSCertificate *  rvOpt[],
PRUint32  maximumOpt,
NSSArena *  arenaOpt 
)

Definition at line 402 of file asymmkey.c.

NSS_IMPLEMENT NSSPrivateKey* NSSPublicKey_FindPrivateKey ( NSSPublicKey *  bk,
NSSCallback *  uhh 
)

Definition at line 426 of file asymmkey.c.

NSS_IMPLEMENT NSSModule* NSSPublicKey_GetModule ( NSSPublicKey *  bk,
PRStatus statusOpt 
)

Definition at line 326 of file asymmkey.c.

NSS_IMPLEMENT NSSSlot* NSSPublicKey_GetSlot ( NSSPublicKey *  bk,
PRStatus statusOpt 
)

Definition at line 316 of file asymmkey.c.

NSS_IMPLEMENT NSSToken* NSSPublicKey_GetToken ( NSSPublicKey *  bk,
PRStatus statusOpt 
)

Definition at line 306 of file asymmkey.c.

NSS_IMPLEMENT NSSTrustDomain* NSSPublicKey_GetTrustDomain ( NSSPublicKey *  bk,
PRStatus statusOpt 
)

Definition at line 296 of file asymmkey.c.

NSS_IMPLEMENT PRStatus NSSPublicKey_Verify ( NSSPublicKey *  bk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  data,
NSSItem *  signature,
NSSCallback *  uhh 
)

Definition at line 350 of file asymmkey.c.

NSS_IMPLEMENT NSSItem* NSSPublicKey_VerifyRecover ( NSSPublicKey *  bk,
NSSAlgorithmAndParameters *  apOpt,
NSSItem *  signature,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 363 of file asymmkey.c.

NSS_IMPLEMENT NSSItem* NSSPublicKey_WrapSymmetricKey ( NSSPublicKey *  bk,
NSSAlgorithmAndParameters *  apOpt,
NSSSymmetricKey *  keyToWrap,
NSSCallback *  uhh,
NSSItem *  rvOpt,
NSSArena *  arenaOpt 
)

Definition at line 377 of file asymmkey.c.


Variable Documentation

Definition at line 80 of file errorval.c.