Back to index

lightning-sunbird  0.9+nobinonly
Defines | Enumerations
softoknt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NSS_SOFTOKEN_DEFAULT_CHUNKSIZE   2048

Enumerations

enum  RSA_BlockType {
  RSA_BlockPrivate0 = 0, RSA_BlockPrivate = 1, RSA_BlockPublic = 2, RSA_BlockOAEP = 3,
  RSA_BlockRaw = 4, RSA_BlockTotal, RSA_BlockPrivate0 = 0, RSA_BlockPrivate = 1,
  RSA_BlockPublic = 2, RSA_BlockOAEP = 3, RSA_BlockRaw = 4, RSA_BlockTotal
}
enum  NSSAuditSeverity {
  NSS_AUDIT_ERROR = 3, NSS_AUDIT_WARNING = 2, NSS_AUDIT_INFO = 1, NSS_AUDIT_ERROR = 3,
  NSS_AUDIT_WARNING = 2, NSS_AUDIT_INFO = 1
}

Define Documentation

Definition at line 62 of file softoknt.h.


Enumeration Type Documentation

Enumerator:
NSS_AUDIT_ERROR 
NSS_AUDIT_WARNING 
NSS_AUDIT_INFO 
NSS_AUDIT_ERROR 
NSS_AUDIT_WARNING 
NSS_AUDIT_INFO 

Definition at line 67 of file softoknt.h.

             {
    NSS_AUDIT_ERROR = 3,    /* errors */
    NSS_AUDIT_WARNING = 2,  /* warning messages */
    NSS_AUDIT_INFO = 1      /* informational messages */
} NSSAuditSeverity;
Enumerator:
RSA_BlockPrivate0 
RSA_BlockPrivate 
RSA_BlockPublic 
RSA_BlockOAEP 
RSA_BlockRaw 
RSA_BlockTotal 
RSA_BlockPrivate0 
RSA_BlockPrivate 
RSA_BlockPublic 
RSA_BlockOAEP 
RSA_BlockRaw 
RSA_BlockTotal 

Definition at line 51 of file softoknt.h.

             {
    RSA_BlockPrivate0 = 0,  /* unused, really */
    RSA_BlockPrivate = 1,   /* pad for a private-key operation */
    RSA_BlockPublic = 2,    /* pad for a public-key operation */
    RSA_BlockOAEP = 3,             /* use OAEP padding */
                            /* XXX is this only for a public-key
                               operation? If so, add "Public" */
    RSA_BlockRaw = 4,              /* simply justify the block appropriately */
    RSA_BlockTotal
} RSA_BlockType;