Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations | Variables
lowkeyti.h File Reference
#include "blapit.h"
#include "prtypes.h"
#include "plarena.h"
#include "secitem.h"
#include "secasn1t.h"
#include "secoidt.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NSSLOWKEYDBKeyStr
struct  NSSLOWKEYAttributeStr
struct  NSSLOWKEYPrivateKeyInfoStr
struct  NSSLOWKEYEncryptedPrivateKeyInfoStr
struct  NSSLOWKEYPublicKeyStr
struct  NSSLOWKEYPrivateKeyStr
union  NSSLOWKEYPublicKeyStr.u
union  NSSLOWKEYPrivateKeyStr.u

Defines

#define NSSLOWKEY_DB_FILE_VERSION   3
#define NSSLOWKEY_VERSION   0 /* what we *create* */
#define NSSLOWKEY_PRIVATE_KEY_INFO_VERSION   0 /* what we *create* */

Typedefs

typedef struct NSSLOWKEYDBKeyStr
typedef struct NSSLOWKEYDBHandleStr
typedef struct NSSLOWKEYAttributeStr
typedef struct NSSLOWKEYPrivateKeyInfoStr
typedef struct NSSLOWKEYEncryptedPrivateKeyInfoStr
typedef struct NSSLOWKEYPublicKeyStr
typedef struct NSSLOWKEYPrivateKeyStr

Enumerations

enum  NSSLOWKEYType {
  NSSLOWKEYNullKey = 0, NSSLOWKEYRSAKey = 1, NSSLOWKEYDSAKey = 2, NSSLOWKEYDHKey = 4,
  NSSLOWKEYECKey = 5, NSSLOWKEYNullKey = 0, NSSLOWKEYRSAKey = 1, NSSLOWKEYDSAKey = 2,
  NSSLOWKEYDHKey = 4, NSSLOWKEYECKey = 5
}

Variables

const SEC_ASN1Template nsslowkey_PQGParamsTemplate []
const SEC_ASN1Template nsslowkey_RSAPrivateKeyTemplate []
const SEC_ASN1Template nsslowkey_DSAPrivateKeyTemplate []
const SEC_ASN1Template nsslowkey_DSAPrivateKeyExportTemplate []
const SEC_ASN1Template nsslowkey_DHPrivateKeyTemplate []
const SEC_ASN1Template nsslowkey_DHPrivateKeyExportTemplate []
const SEC_ASN1Template nsslowkey_PrivateKeyInfoTemplate []
const SEC_ASN1Template nsslowkey_EncryptedPrivateKeyInfoTemplate []

Class Documentation

struct NSSLOWKEYDBKeyStr

Definition at line 53 of file lowkeyti.h.

Collaboration diagram for NSSLOWKEYDBKeyStr:
Class Members
PLArenaPool * arena
SECItem derPK
char * nickname
SECItem salt
int version
struct NSSLOWKEYAttributeStr

Definition at line 93 of file lowkeyti.h.

Class Members
SECItem attrType
SECItem * attrValue
struct NSSLOWKEYPrivateKeyInfoStr

Definition at line 102 of file lowkeyti.h.

Collaboration diagram for NSSLOWKEYPrivateKeyInfoStr:
Class Members
SECAlgorithmID algorithm
PLArenaPool * arena
NSSLOWKEYAttribute ** attributes
SECItem privateKey
SECItem version
struct NSSLOWKEYEncryptedPrivateKeyInfoStr

Definition at line 115 of file lowkeyti.h.

Collaboration diagram for NSSLOWKEYEncryptedPrivateKeyInfoStr:
Class Members
SECAlgorithmID algorithm
PLArenaPool * arena
SECItem encryptedData
struct NSSLOWKEYPublicKeyStr

Definition at line 134 of file lowkeyti.h.

Collaboration diagram for NSSLOWKEYPublicKeyStr:
Class Members
PLArenaPool * arena
NSSLOWKEYType keyType
union NSSLOWKEYPublicKeyStr u
union NSSLOWKEYPublicKeyStr u
struct NSSLOWKEYPrivateKeyStr

Definition at line 151 of file lowkeyti.h.

Collaboration diagram for NSSLOWKEYPrivateKeyStr:
Class Members
PLArenaPool * arena
NSSLOWKEYType keyType
union NSSLOWKEYPrivateKeyStr u
union NSSLOWKEYPrivateKeyStr u
union NSSLOWKEYPublicKeyStr.u

Definition at line 137 of file lowkeyti.h.

Class Members
DHPublicKey dh
DSAPublicKey dsa
ECPublicKey ec
RSAPublicKey rsa
union NSSLOWKEYPrivateKeyStr.u

Definition at line 154 of file lowkeyti.h.

Class Members
DHPrivateKey dh
DSAPrivateKey dsa
ECPrivateKey ec
RSAPrivateKey rsa

Define Documentation

Definition at line 67 of file lowkeyti.h.

#define NSSLOWKEY_PRIVATE_KEY_INFO_VERSION   0 /* what we *create* */

Definition at line 110 of file lowkeyti.h.

#define NSSLOWKEY_VERSION   0 /* what we *create* */

Definition at line 70 of file lowkeyti.h.


Typedef Documentation

typedef struct NSSLOWKEYAttributeStr

Definition at line 97 of file lowkeyti.h.

typedef struct NSSLOWKEYDBHandleStr

Definition at line 62 of file lowkeyti.h.

typedef struct NSSLOWKEYDBKeyStr

Definition at line 60 of file lowkeyti.h.

Definition at line 120 of file lowkeyti.h.

Definition at line 109 of file lowkeyti.h.

typedef struct NSSLOWKEYPrivateKeyStr

Definition at line 161 of file lowkeyti.h.

typedef struct NSSLOWKEYPublicKeyStr

Definition at line 144 of file lowkeyti.h.


Enumeration Type Documentation

Enumerator:
NSSLOWKEYNullKey 
NSSLOWKEYRSAKey 
NSSLOWKEYDSAKey 
NSSLOWKEYDHKey 
NSSLOWKEYECKey 
NSSLOWKEYNullKey 
NSSLOWKEYRSAKey 
NSSLOWKEYDSAKey 
NSSLOWKEYDHKey 
NSSLOWKEYECKey 

Definition at line 123 of file lowkeyti.h.


Variable Documentation

Definition at line 86 of file lowkey.c.

Definition at line 82 of file lowkey.c.

Definition at line 75 of file lowkey.c.

Definition at line 103 of file keydb.c.

Definition at line 52 of file lowkey.c.

Definition at line 83 of file keydb.c.

Definition at line 60 of file lowkey.c.