Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations | Variables
pkcs12t.h File Reference
#include "seccomon.h"
#include "secoid.h"
#include "cert.h"
#include "key.h"
#include "plarena.h"
#include "secpkcs7.h"
#include "secdig.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SEC_PKCS12BaggageStr
struct  SEC_PKCS12PVKAdditionalDataStr
struct  SEC_PKCS12PVKSupportingDataStr
struct  SEC_PKCS12ESPVKItemStr
struct  SEC_PKCS12SafeBagStr
struct  SEC_PKCS12SafeContentsStr
struct  SEC_PKCS12PrivateKeyStr
struct  SEC_PKCS12PrivateKeyBagStr
struct  SEC_PKCS12CertAndCRLStr
struct  SEC_PKCS12X509CertCRLStr
struct  SEC_PKCS12SDSICertStr
struct  SEC_PKCS12CertAndCRLBagStr
struct  SEC_PKCS12SecretAdditionalStr
struct  SEC_PKCS12SecretStr
struct  SEC_PKCS12SecretItemStr
struct  SEC_PKCS12SecretBagStr
struct  SEC_PKCS12MacDataStr
struct  SEC_PKCS12PFXItemStr
struct  SEC_PKCS12BaggageItemStr
struct  SEC_PKCS12Baggage_OLDStr
struct  SEC_PKCS12AuthenticatedSafeStr
union  SEC_PKCS12ESPVKItemStr.espvkCipherText
union  SEC_PKCS12SafeBagStr.safeContent
union  SEC_PKCS12CertAndCRLStr.value

Defines

#define SEC_PKCS12_PFX_VERSION   1 /* what we create */

Typedefs

typedef struct SEC_PKCS12PFXItemStr
typedef struct SEC_PKCS12MacDataStr
typedef struct SEC_PKCS12AuthenticatedSafeStr
typedef struct SEC_PKCS12BaggageItemStr
typedef struct SEC_PKCS12BaggageStr
typedef struct SEC_PKCS12Baggage_OLDStr
typedef struct SEC_PKCS12ESPVKItemStr
typedef struct SEC_PKCS12PVKSupportingDataStr
typedef struct SEC_PKCS12PVKAdditionalDataStr
typedef struct SEC_PKCS12SafeContentsStr
typedef struct SEC_PKCS12SafeBagStr
typedef struct SEC_PKCS12PrivateKeyStr
typedef struct SEC_PKCS12PrivateKeyBagStr
typedef struct SEC_PKCS12CertAndCRLBagStr
typedef struct SEC_PKCS12CertAndCRLStr
typedef struct SEC_PKCS12X509CertCRLStr
typedef struct SEC_PKCS12SDSICertStr
typedef struct SEC_PKCS12SecretStr
typedef struct SEC_PKCS12SecretAdditionalStr
typedef struct SEC_PKCS12SecretItemStr
typedef struct SEC_PKCS12SecretBagStr
typedef SECItem *(* SEC_PKCS12PasswordFunc )(SECItem *args)

Enumerations

enum  SECPKCS12TargetTokenCAs {
  SECPKCS12TargetTokenNoCAs, SECPKCS12TargetTokenIntermediateCAs, SECPKCS12TargetTokenAllCAs, SECPKCS12TargetTokenNoCAs,
  SECPKCS12TargetTokenIntermediateCAs, SECPKCS12TargetTokenAllCAs
}

Variables

const SEC_ASN1Template SEC_PKCS12PFXItemTemplate_OLD []
const SEC_ASN1Template SEC_PKCS12AuthenticatedSafeTemplate_OLD []
const SEC_ASN1Template SEC_PKCS12BaggageTemplate_OLD []
const SEC_ASN1Template SEC_PKCS12PFXItemTemplate []
const SEC_ASN1Template SEC_PKCS12MacDataTemplate []
const SEC_ASN1Template SEC_PKCS12AuthenticatedSafeTemplate []
const SEC_ASN1Template SEC_PKCS12BaggageTemplate []
const SEC_ASN1Template SEC_PKCS12ESPVKItemTemplate []
const SEC_ASN1Template SEC_PKCS12PVKSupportingDataTemplate []
const SEC_ASN1Template SEC_PKCS12PVKAdditionalTemplate []
const SEC_ASN1Template SEC_PKCS12SafeContentsTemplate_OLD []
const SEC_ASN1Template SEC_PKCS12SafeContentsTemplate []
const SEC_ASN1Template SEC_PKCS12SafeBagTemplate []
const SEC_ASN1Template SEC_PKCS12PrivateKeyTemplate []
const SEC_ASN1Template SEC_PKCS12PrivateKeyBagTemplate []
const SEC_ASN1Template SEC_PKCS12CertAndCRLTemplate []
const SEC_ASN1Template SEC_PKCS12CertAndCRLBagTemplate []
const SEC_ASN1Template SEC_PKCS12X509CertCRLTemplate_OLD []
const SEC_ASN1Template SEC_PKCS12X509CertCRLTemplate []
const SEC_ASN1Template SEC_PKCS12SDSICertTemplate []
const SEC_ASN1Template SEC_PKCS12SecretBagTemplate []
const SEC_ASN1Template SEC_PKCS12SecretTemplate []
const SEC_ASN1Template SEC_PKCS12SecretItemTemplate []
const SEC_ASN1Template SEC_PKCS12SecretAdditionalTemplate []
const SEC_ASN1Template SGN_DigestInfoTemplate []
const SEC_ASN1Template SEC_PointerToPKCS12KeyBagTemplate []
const SEC_ASN1Template SEC_PointerToPKCS12CertAndCRLBagTemplate []
const SEC_ASN1Template SEC_PointerToPKCS12CertAndCRLBagTemplate_OLD []
const SEC_ASN1Template SEC_PointerToPKCS12SecretBagTemplate []
const SEC_ASN1Template SEC_PointerToPKCS12X509CertCRLTemplate_OLD []
const SEC_ASN1Template SEC_PointerToPKCS12X509CertCRLTemplate []
const SEC_ASN1Template SEC_PointerToPKCS12SDSICertTemplate []
const SEC_ASN1Template SEC_PKCS12CodedSafeBagTemplate []
const SEC_ASN1Template SEC_PKCS12CodedCertBagTemplate []
const SEC_ASN1Template SEC_PKCS12CodedCertAndCRLBagTemplate []
const SEC_ASN1Template SEC_PKCS12PVKSupportingDataTemplate_OLD []
const SEC_ASN1Template SEC_PKCS12ESPVKItemTemplate_OLD []

Class Documentation

struct SEC_PKCS12BaggageStr

Definition at line 85 of file pkcs12t.h.

Collaboration diagram for SEC_PKCS12BaggageStr:
Class Members
SEC_PKCS12BaggageItem ** bags
int luggage_size
PRArenaPool * poolp
struct SEC_PKCS12PVKAdditionalDataStr

Definition at line 96 of file pkcs12t.h.

Class Members
PRArenaPool * poolp
SECItem pvkAdditionalContent
SECItem pvkAdditionalType
SECOidData * pvkAdditionalTypeTag
struct SEC_PKCS12PVKSupportingDataStr

Definition at line 107 of file pkcs12t.h.

Collaboration diagram for SEC_PKCS12PVKSupportingDataStr:
Class Members
SGNDigestInfo ** assocCerts
SECItem nickname
int nThumbs
PRArenaPool * poolp
SEC_PKCS12PVKAdditionalData pvkAdditional
SECItem pvkAdditionalDER
SECItem regenerable
SECItem uniNickName
struct SEC_PKCS12ESPVKItemStr

Definition at line 124 of file pkcs12t.h.

Collaboration diagram for SEC_PKCS12ESPVKItemStr:
Class Members
SECItem derCert
PRBool duplicate
union SEC_PKCS12ESPVKItemStr espvkCipherText
union SEC_PKCS12ESPVKItemStr espvkCipherText
SEC_PKCS12PVKSupportingData espvkData
SECItem espvkOID
SECOidData * espvkTag
int nCerts
PRArenaPool * poolp
PRBool problem_cert
PRBool single_cert
struct SEC_PKCS12SafeBagStr

Definition at line 145 of file pkcs12t.h.

Class Members
SECItem derSafeContent
PRArenaPool * poolp
SECItem safeBagName
SECItem safeBagType
SECOidData * safeBagTypeTag
union SEC_PKCS12SafeBagStr safeContent
union SEC_PKCS12SafeBagStr safeContent
SECItem uniSafeBagName
struct SEC_PKCS12SafeContentsStr

Definition at line 166 of file pkcs12t.h.

Collaboration diagram for SEC_PKCS12SafeContentsStr:
Class Members
SEC_PKCS12SafeBag ** contents
PRBool old
PRArenaPool * poolp
PRBool possibleSwapUnicode
int safe_size
PRBool swapUnicode
struct SEC_PKCS12PrivateKeyStr

Definition at line 181 of file pkcs12t.h.

Collaboration diagram for SEC_PKCS12PrivateKeyStr:
Class Members
SECItem derCert
PRBool duplicate
int nCerts
SECKEYPrivateKeyInfo pkcs8data
PRArenaPool * poolp
PRBool problem_cert
SEC_PKCS12PVKSupportingData pvkData
PRBool single_cert
struct SEC_PKCS12PrivateKeyBagStr

Definition at line 197 of file pkcs12t.h.

Collaboration diagram for SEC_PKCS12PrivateKeyBagStr:
Class Members
int bag_size
PRArenaPool * poolp
SEC_PKCS12PrivateKey ** privateKeys
struct SEC_PKCS12CertAndCRLStr

Definition at line 208 of file pkcs12t.h.

Class Members
SECItem BagID
SECOidData * BagTypeTag
SECItem derValue
PRBool duplicate
SECItem nickname
PRArenaPool * poolp
union SEC_PKCS12CertAndCRLStr value
union SEC_PKCS12CertAndCRLStr value
struct SEC_PKCS12X509CertCRLStr

Definition at line 228 of file pkcs12t.h.

Class Members
SEC_PKCS7ContentInfo certOrCRL
SECItem * derLeafCert
PRArenaPool * poolp
SGNDigestInfo thumbprint
struct SEC_PKCS12SDSICertStr

Definition at line 241 of file pkcs12t.h.

Class Members
PRArenaPool * poolp
SGNDigestInfo thumbprint
SECItem value
struct SEC_PKCS12CertAndCRLBagStr

Definition at line 249 of file pkcs12t.h.

Collaboration diagram for SEC_PKCS12CertAndCRLBagStr:
Class Members
int bag_size
SEC_PKCS12CertAndCRL ** certAndCRLs
PRArenaPool * poolp
struct SEC_PKCS12SecretAdditionalStr

Definition at line 260 of file pkcs12t.h.

Class Members
PRArenaPool * poolp
SECItem secretAdditionalContent
SECItem secretAdditionalType
SECOidData * secretTypeTag
struct SEC_PKCS12SecretStr

Definition at line 271 of file pkcs12t.h.

Class Members
PRArenaPool * poolp
SEC_PKCS12SecretAdditional secretAdditional
SECItem secretName
SECItem uniSecretName
SECItem value
struct SEC_PKCS12SecretItemStr

Definition at line 281 of file pkcs12t.h.

Class Members
PRArenaPool * poolp
SEC_PKCS12Secret secret
SEC_PKCS12SafeBag subFolder
struct SEC_PKCS12SecretBagStr

Definition at line 290 of file pkcs12t.h.

Collaboration diagram for SEC_PKCS12SecretBagStr:
Class Members
int bag_size
PRArenaPool * poolp
SEC_PKCS12SecretItem ** secrets
struct SEC_PKCS12MacDataStr

Definition at line 298 of file pkcs12t.h.

Class Members
SECItem macSalt
SGNDigestInfo safeMac
struct SEC_PKCS12PFXItemStr

Definition at line 305 of file pkcs12t.h.

Class Members
SEC_PKCS7ContentInfo authSafe
SEC_PKCS12MacData macData
PRBool old
SECItem old_macSalt
SGNDigestInfo old_safeMac
PRArenaPool * poolp
PRBool swapUnicode
struct SEC_PKCS12BaggageItemStr

Definition at line 320 of file pkcs12t.h.

Collaboration diagram for SEC_PKCS12BaggageItemStr:
Class Members
SEC_PKCS12ESPVKItem ** espvks
int nEspvks
int nSecrets
PRArenaPool * poolp
SEC_PKCS12SafeBag ** unencSecrets
struct SEC_PKCS12Baggage_OLDStr

Definition at line 330 of file pkcs12t.h.

Collaboration diagram for SEC_PKCS12Baggage_OLDStr:
Class Members
SEC_PKCS12ESPVKItem ** espvks
int luggage_size
PRArenaPool * poolp
struct SEC_PKCS12AuthenticatedSafeStr

Definition at line 339 of file pkcs12t.h.

Class Members
SEC_PKCS12Baggage baggage
PRBool emptySafe
PRBool old
SEC_PKCS12Baggage_OLD old_baggage
SEC_PKCS7ContentInfo old_safe
PRArenaPool * poolp
SECItem privacySalt
SEC_PKCS7ContentInfo * safe
PRBool swapUnicode
SECItem transportMode
SECOidData * transportTypeTag
SECItem version
union SEC_PKCS12ESPVKItemStr.espvkCipherText

Definition at line 130 of file pkcs12t.h.

Class Members
SECKEYEncryptedPrivateKeyInfo * pkcs8KeyShroud
union SEC_PKCS12SafeBagStr.safeContent

Definition at line 150 of file pkcs12t.h.

Class Members
SEC_PKCS12CertAndCRLBag * certAndCRLBag
SEC_PKCS12PrivateKeyBag * keyBag
SEC_PKCS12SecretBag * secretBag
union SEC_PKCS12CertAndCRLStr.value

Definition at line 213 of file pkcs12t.h.

Class Members
SEC_PKCS12SDSICert * sdsi
SEC_PKCS12X509CertCRL * x509

Define Documentation

#define SEC_PKCS12_PFX_VERSION   1 /* what we create */

Definition at line 356 of file pkcs12t.h.


Typedef Documentation

Definition at line 60 of file pkcs12t.h.

typedef struct SEC_PKCS12Baggage_OLDStr

Definition at line 63 of file pkcs12t.h.

typedef struct SEC_PKCS12BaggageItemStr

Definition at line 61 of file pkcs12t.h.

typedef struct SEC_PKCS12BaggageStr

Definition at line 62 of file pkcs12t.h.

Definition at line 71 of file pkcs12t.h.

typedef struct SEC_PKCS12CertAndCRLStr

Definition at line 72 of file pkcs12t.h.

typedef struct SEC_PKCS12ESPVKItemStr

Definition at line 64 of file pkcs12t.h.

typedef struct SEC_PKCS12MacDataStr

Definition at line 59 of file pkcs12t.h.

typedef SECItem*(* SEC_PKCS12PasswordFunc)(SECItem *args)

Definition at line 80 of file pkcs12t.h.

typedef struct SEC_PKCS12PFXItemStr

Definition at line 58 of file pkcs12t.h.

Definition at line 70 of file pkcs12t.h.

typedef struct SEC_PKCS12PrivateKeyStr

Definition at line 69 of file pkcs12t.h.

Definition at line 66 of file pkcs12t.h.

Definition at line 65 of file pkcs12t.h.

typedef struct SEC_PKCS12SafeBagStr

Definition at line 68 of file pkcs12t.h.

typedef struct SEC_PKCS12SafeContentsStr

Definition at line 67 of file pkcs12t.h.

typedef struct SEC_PKCS12SDSICertStr

Definition at line 74 of file pkcs12t.h.

Definition at line 76 of file pkcs12t.h.

typedef struct SEC_PKCS12SecretBagStr

Definition at line 78 of file pkcs12t.h.

typedef struct SEC_PKCS12SecretItemStr

Definition at line 77 of file pkcs12t.h.

typedef struct SEC_PKCS12SecretStr

Definition at line 75 of file pkcs12t.h.

typedef struct SEC_PKCS12X509CertCRLStr

Definition at line 73 of file pkcs12t.h.


Enumeration Type Documentation

Enumerator:
SECPKCS12TargetTokenNoCAs 
SECPKCS12TargetTokenIntermediateCAs 
SECPKCS12TargetTokenAllCAs 
SECPKCS12TargetTokenNoCAs 
SECPKCS12TargetTokenIntermediateCAs 
SECPKCS12TargetTokenAllCAs 

Definition at line 48 of file pkcs12t.h.

             {
  SECPKCS12TargetTokenNoCAs,              /* CA get loaded intothe fixed token,
                                    * User certs go to target token */
  SECPKCS12TargetTokenIntermediateCAs,  /* User certs and intermediates go to
                                    * target token, root certs got to
                                    * fixed token */
  SECPKCS12TargetTokenAllCAs              /* All certs go to target token */
} SECPKCS12TargetTokenCAs;

Variable Documentation

Definition at line 1299 of file p12local.c.

Definition at line 1317 of file p12local.c.

Definition at line 1084 of file p12local.c.

Definition at line 1090 of file p12local.c.

Definition at line 1212 of file p12local.c.

Definition at line 1201 of file p12local.c.

Definition at line 1002 of file p12local.c.

Definition at line 994 of file p12local.c.

Definition at line 986 of file p12local.c.

Definition at line 1020 of file p12local.c.

Definition at line 1008 of file p12local.c.

Definition at line 1263 of file p12local.c.

Definition at line 1272 of file p12local.c.

Definition at line 1284 of file p12local.c.

Definition at line 1150 of file p12local.c.

Definition at line 1139 of file p12local.c.

Definition at line 1057 of file p12local.c.

Definition at line 1042 of file p12local.c.

Definition at line 1113 of file p12local.c.

Definition at line 1132 of file p12local.c.

Definition at line 1125 of file p12local.c.

Definition at line 1177 of file p12local.c.

Definition at line 1226 of file p12local.c.

Definition at line 1257 of file p12local.c.

Definition at line 1247 of file p12local.c.

Definition at line 1236 of file p12local.c.

Definition at line 1169 of file p12local.c.

Definition at line 1158 of file p12local.c.

Definition at line 1346 of file p12local.c.

Definition at line 1341 of file p12local.c.

Definition at line 1336 of file p12local.c.

Definition at line 1366 of file p12local.c.

Definition at line 1351 of file p12local.c.

Definition at line 1361 of file p12local.c.

Definition at line 1356 of file p12local.c.