Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
pkcs7t.h File Reference
#include "plarena.h"
#include "seccomon.h"
#include "secoidt.h"
#include "certt.h"
#include "secmodt.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SEC_PKCS7SignedDataStr
struct  SEC_PKCS7EnvelopedDataStr
struct  SEC_PKCS7SignedAndEnvelopedDataStr
struct  SEC_PKCS7SignerInfoStr
struct  SEC_PKCS7RecipientInfoStr
struct  SEC_PKCS7DigestedDataStr
struct  SEC_PKCS7EncryptedDataStr
struct  SEC_PKCS7AttributeStr
struct  SEC_PKCS7SMIMEKEAParametersStr

Defines

#define SEC_PKCS7_SIGNED_DATA_VERSION   1 /* what we *create* */
#define SEC_PKCS7_ENVELOPED_DATA_VERSION   0 /* what we *create* */
#define SEC_PKCS7_SIGNED_AND_ENVELOPED_DATA_VERSION   1 /* what we *create* */
#define SEC_PKCS7_SIGNER_INFO_VERSION   1 /* what we *create* */
#define SEC_PKCS7_RECIPIENT_INFO_VERSION   0 /* what we *create* */
#define SEC_PKCS7_DIGESTED_DATA_VERSION   0 /* what we *create* */
#define SEC_PKCS7_ENCRYPTED_DATA_VERSION   0 /* what we *create* */

Typedefs

typedef struct SEC_PKCS7DecoderContextStr
typedef struct SEC_PKCS7EncoderContextStr
typedef void *(* SECKEYGetPasswordKey )(void *arg, void *handle)
typedef struct SEC_PKCS7ContentInfoStr
typedef struct SEC_PKCS7SignedDataStr
typedef struct SEC_PKCS7EncryptedContentInfoStr
typedef struct SEC_PKCS7EnvelopedDataStr
typedef struct SEC_PKCS7SignedAndEnvelopedDataStr
typedef struct SEC_PKCS7SignerInfoStr
typedef struct SEC_PKCS7RecipientInfoStr
typedef struct SEC_PKCS7DigestedDataStr
typedef struct SEC_PKCS7EncryptedDataStr
typedef struct SEC_PKCS7SMIMEKEAParametersStr
typedef struct SEC_PKCS7AttributeStr
typedef void(* SEC_PKCS7DecoderContentCallback )(void *arg, const char *buf, unsigned long len)
typedef void(* SEC_PKCS7EncoderOutputCallback )(void *arg, const char *buf, unsigned long len)
typedef PK11SymKey *(* SEC_PKCS7GetDecryptKeyCallback )(void *arg, SECAlgorithmID *algid)
typedef PRBool(* SEC_PKCS7DecryptionAllowedCallback )(SECAlgorithmID *algid, PK11SymKey *bulkkey)

Enumerations

enum  SECKEATemplateSelector {
  SECKEAInvalid = -1, SECKEAUsesSkipjack = 0, SECKEAUsesNonSkipjack = 1, SECKEAUsesNonSkipjackWithPaddedEncKey = 2,
  SECKEAInvalid = -1, SECKEAUsesSkipjack = 0, SECKEAUsesNonSkipjack = 1, SECKEAUsesNonSkipjackWithPaddedEncKey = 2
}

Class Documentation

struct SEC_PKCS7ContentInfoStr

Definition at line 110 of file pkcs7t.h.

Collaboration diagram for SEC_PKCS7ContentInfoStr:
Class Members
union SEC_PKCS7ContentInfoStr content
union SEC_PKCS7ContentInfoStr content
SECItem contentType
SECOidData * contentTypeTag
PRBool created
PRArenaPool * poolp
SECKEYGetPasswordKey pwfn
void * pwfn_arg
int refCount
struct SEC_PKCS7SignedDataStr

Definition at line 128 of file pkcs7t.h.

Class Members
CERTCertificateList ** certLists
CERTCertificate ** certs
SEC_PKCS7ContentInfo contentInfo
CERTSignedCrl ** crls
SECAlgorithmID ** digestAlgorithms
SECItem ** digests
SECItem ** rawCerts
SEC_PKCS7SignerInfo ** signerInfos
SECItem version
struct SEC_PKCS7EncryptedContentInfoStr

Definition at line 141 of file pkcs7t.h.

Collaboration diagram for SEC_PKCS7EncryptedContentInfoStr:
Class Members
SECAlgorithmID contentEncAlg
SECItem contentType
SECOidData * contentTypeTag
SECOidTag encalg
SECItem encContent
int keysize
SECItem plainContent
struct SEC_PKCS7EnvelopedDataStr

Definition at line 156 of file pkcs7t.h.

Class Members
SEC_PKCS7EncryptedContentInfo encContentInfo
SEC_PKCS7RecipientInfo ** recipientInfos
SECItem version
struct SEC_PKCS7SignedAndEnvelopedDataStr

Definition at line 163 of file pkcs7t.h.

Class Members
CERTCertificateList ** certLists
CERTCertificate ** certs
CERTSignedCrl ** crls
SECAlgorithmID ** digestAlgorithms
SECItem ** digests
SEC_PKCS7EncryptedContentInfo encContentInfo
SECItem ** rawCerts
SEC_PKCS7RecipientInfo ** recipientInfos
PK11SymKey * sigKey
SEC_PKCS7SignerInfo ** signerInfos
SECItem version
struct SEC_PKCS7SignerInfoStr

Definition at line 178 of file pkcs7t.h.

Class Members
SEC_PKCS7Attribute ** authAttr
CERTCertificate * cert
CERTCertificateList * certList
SECAlgorithmID digestAlg
SECAlgorithmID digestEncAlg
SECItem encDigest
CERTIssuerAndSN * issuerAndSN
SEC_PKCS7Attribute ** unAuthAttr
SECItem version
struct SEC_PKCS7RecipientInfoStr

Definition at line 191 of file pkcs7t.h.

Class Members
CERTCertificate * cert
SECItem encKey
CERTIssuerAndSN * issuerAndSN
SECAlgorithmID keyEncAlg
SECItem version
struct SEC_PKCS7DigestedDataStr

Definition at line 200 of file pkcs7t.h.

Class Members
SEC_PKCS7ContentInfo contentInfo
SECItem digest
SECAlgorithmID digestAlg
SECItem version
struct SEC_PKCS7EncryptedDataStr

Definition at line 208 of file pkcs7t.h.

Class Members
SEC_PKCS7EncryptedContentInfo encContentInfo
SECItem version
struct SEC_PKCS7AttributeStr

Definition at line 217 of file pkcs7t.h.

Class Members
PRBool encoded
SECItem type
SECOidData * typeTag
SECItem ** values
struct SEC_PKCS7SMIMEKEAParametersStr

Definition at line 238 of file pkcs7t.h.

Class Members
SECItem bulkKeySize
SECItem nonSkipjackIV
SECItem originatorKEAKey
SECItem originatorRA
union SEC_PKCS7ContentInfoStr.content

Definition at line 118 of file pkcs7t.h.

Class Members
SECItem * data
SEC_PKCS7DigestedData * digestedData
SEC_PKCS7EncryptedData * encryptedData
SEC_PKCS7EnvelopedData * envelopedData
SEC_PKCS7SignedAndEnvelopedData * signedAndEnvelopedData
SEC_PKCS7SignedData * signedData

Define Documentation

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

Definition at line 206 of file pkcs7t.h.

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

Definition at line 212 of file pkcs7t.h.

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

Definition at line 161 of file pkcs7t.h.

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

Definition at line 198 of file pkcs7t.h.

#define SEC_PKCS7_SIGNED_AND_ENVELOPED_DATA_VERSION   1 /* what we *create* */

Definition at line 176 of file pkcs7t.h.

#define SEC_PKCS7_SIGNED_DATA_VERSION   1 /* what we *create* */

Definition at line 139 of file pkcs7t.h.

#define SEC_PKCS7_SIGNER_INFO_VERSION   1 /* what we *create* */

Definition at line 189 of file pkcs7t.h.


Typedef Documentation

typedef struct SEC_PKCS7AttributeStr

Definition at line 108 of file pkcs7t.h.

typedef struct SEC_PKCS7ContentInfoStr

Definition at line 91 of file pkcs7t.h.

typedef void(* SEC_PKCS7DecoderContentCallback)(void *arg, const char *buf, unsigned long len)

Definition at line 263 of file pkcs7t.h.

Definition at line 54 of file pkcs7t.h.

typedef PRBool(* SEC_PKCS7DecryptionAllowedCallback)(SECAlgorithmID *algid, PK11SymKey *bulkkey)

Definition at line 296 of file pkcs7t.h.

typedef struct SEC_PKCS7DigestedDataStr

Definition at line 99 of file pkcs7t.h.

Definition at line 55 of file pkcs7t.h.

typedef void(* SEC_PKCS7EncoderOutputCallback)(void *arg, const char *buf, unsigned long len)

Definition at line 274 of file pkcs7t.h.

Definition at line 93 of file pkcs7t.h.

typedef struct SEC_PKCS7EncryptedDataStr

Definition at line 100 of file pkcs7t.h.

typedef struct SEC_PKCS7EnvelopedDataStr

Definition at line 94 of file pkcs7t.h.

typedef PK11SymKey*(* SEC_PKCS7GetDecryptKeyCallback)(void *arg, SECAlgorithmID *algid)

Definition at line 285 of file pkcs7t.h.

typedef struct SEC_PKCS7RecipientInfoStr

Definition at line 98 of file pkcs7t.h.

Definition at line 95 of file pkcs7t.h.

typedef struct SEC_PKCS7SignedDataStr

Definition at line 92 of file pkcs7t.h.

typedef struct SEC_PKCS7SignerInfoStr

Definition at line 97 of file pkcs7t.h.

Definition at line 101 of file pkcs7t.h.

Definition at line 58 of file pkcs7t.h.


Enumeration Type Documentation

Enumerator:
SECKEAInvalid 
SECKEAUsesSkipjack 
SECKEAUsesNonSkipjack 
SECKEAUsesNonSkipjackWithPaddedEncKey 
SECKEAInvalid 
SECKEAUsesSkipjack 
SECKEAUsesNonSkipjack 
SECKEAUsesNonSkipjackWithPaddedEncKey 

Definition at line 228 of file pkcs7t.h.