Section C Table III: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 14: Line 14:


         <td>SECAlgorithmID</td>
         <td>SECAlgorithmID</td>
         <td>The structure containing two SECItems which identify the X.500
         <td>The structure containing two SECItems which identify the X.500 algorithm.&nbsp;</td>
algorithm.&nbsp;</td>
       </tr>
       </tr>
         <tr>
         <tr>
       <td>typedef struct SECItemStr</td>
       <td>typedef struct SECItemStr</td>
         <td>SECItem</td>
         <td>SECItem</td>
         <td>Generic container used to hold type of data, actual data content,  
         <td>Generic container used to hold type of data, actual data content, and  length of data.</td>
  and  length of data.</td>


       </tr>
       </tr>
Line 27: Line 25:
       <td>typedef struct SECKEYLowPrivateKeyStr</td>
       <td>typedef struct SECKEYLowPrivateKeyStr</td>
         <td>SECKEYLowPrivateKey</td>
         <td>SECKEYLowPrivateKey</td>
         <td>Generic container used for low-level private key structures including  
         <td>Generic container used for low-level private key structures including RSA and DSA private keys. This structure is used below the PKCS #11 service layer and contains the actual private key.</td>
  RSA and DSA private keys. This structure is used below the PKCS #11 service  
  layer and contains the actual private key.</td>
       </tr>
       </tr>
         <tr>
         <tr>
Line 35: Line 31:
       <td>typedef struct SECKEYLowPublicKeyStr</td>
       <td>typedef struct SECKEYLowPublicKeyStr</td>
         <td>SECKEYLowPublicKey</td>
         <td>SECKEYLowPublicKey</td>
         <td>Generic container used for low-level public key structures including  
         <td>Generic container used for low-level public key structures including RSA and DSA public keys. This structure is used below the PKCS #11 service layer and contains the actual public key.</td>
  RSA and DSA public keys. This structure is used below the PKCS #11 service  
  layer and contains the actual public key.</td>
       </tr>
       </tr>
         <tr>
         <tr>
Line 65: Line 59:
       </tr>
       </tr>
         <tr>
         <tr>
       <th rowspan="4">Certificate <br>
       <th rowspan="4">Certificate<br>Storage and<br>Retrieval</th>
      Storage and <br>
      Retrieval</th>


         <td>typedef struct CERTCertificateStr</td>
         <td>typedef struct CERTCertificateStr</td>
Line 92: Line 84:
       </tr>
       </tr>
         <tr>
         <tr>
       <th rowspan="4">Digital <br>
       <th rowspan="4">Digital<br>Signatures</th>
 
      Signatures</th>
         <td>typedef struct DSAPrivateKeyStr</td>
         <td>typedef struct DSAPrivateKeyStr</td>
         <td>DSAPrivateKey</td>
         <td>DSAPrivateKey</td>
         <td>The structure representing the context of a digital signature  
         <td>The structure representing the context of a digital signature  
containing   data associated with the private portion of the DSA key pair.</td>
containing data associated with the private portion of the DSA key pair.</td>
       </tr>
       </tr>
         <tr>
         <tr>
Line 105: Line 95:
         <td>DSAPublicKey</td>
         <td>DSAPublicKey</td>
         <td>The structure representing the context of a digital signature  
         <td>The structure representing the context of a digital signature  
verification   containing data associated with the public portion of the  
verification containing data associated with the public portion of the DSA key pair.</td>
DSA key pair.</td>
       </tr>
       </tr>
         <tr>
         <tr>
       <td>typedef struct RSAPrivateKeyStr</td>
       <td>typedef struct RSAPrivateKeyStr</td>
         <td>RSAPrivateKey</td>
         <td>RSAPrivateKey</td>
         <td>The structure representing the context of an RSA signature generation  
         <td>The structure representing the context of an RSA signature generation or decryption mechanism used for both signature generation and key exchange; containing data associated with the private portion of the RSA key pair.</td>
  or decryption mechanism used for both signature generation and key exchange;  
containing data associated with the private portion of the RSA key pair.</td>


       </tr>
       </tr>
Line 119: Line 106:
       <td>typedef struct RSAPublicKeyStr</td>
       <td>typedef struct RSAPublicKeyStr</td>
         <td>RSAPublicKey</td>
         <td>RSAPublicKey</td>
         <td>The structure representing the context of an RSA signature verification  
         <td>The structure representing the context of an RSA signature verification or encryption mechanism used for both signature verification and key exchange; containing data associated  with the public portion of the RSA key pair.</td>
  or encryption mechanism used for both signature verification and key exchange;  
containing data associated  with the public portion of the RSA key pair.</td>
       </tr>
       </tr>
         <tr>
         <tr>
Line 129: Line 114:
         <td>typedef struct DESContextStr</td>
         <td>typedef struct DESContextStr</td>
         <td>DESContext</td>
         <td>DESContext</td>
         <td>The structure representing the context of a DES encryption/decryption  
         <td>The structure representing the context of a DES encryption/decryption containing an encrypt/decrypt flag, space for up to three distinct keys, space for the carry-forward needed for CBC modes of DES, and function pointers to the appropriate encryption and decryption functions associated with that mode of DES.</td>
  containing an encrypt/decrypt flag, space for up to three distinct keys,  
  space for the carry-forward needed for CBC modes of DES, and function pointers  
  to the appropriate encryption and decryption functions associated with that
  mode of DES.</td>
       </tr>
       </tr>


Line 140: Line 121:
         <td>typedef struct SHA1ContextStr</td>
         <td>typedef struct SHA1ContextStr</td>
         <td>SHA1Context</td>
         <td>SHA1Context</td>
         <td>The structure representing the context of a SHA-1 hash containing  
         <td>The structure representing the context of a SHA-1 hash containing information relevant to performing a SHA-1 hash.</td>
  information relevant to performing a SHA-1 hash.</td>
       </tr>
       </tr>
         <tr>
         <tr>
Line 150: Line 130:
         <td>PQGParams</td>
         <td>PQGParams</td>
         <td>The structure representing the context of a digital signature  
         <td>The structure representing the context of a digital signature  
key   generation containing multiple items including pointers to both low-level  
key generation containing multiple items including pointers to both low-level public and private key structures containing the public and private portions of the DSA key pair.</td>
  public and private key structures containing the public and private portions  
  of the DSA key pair.</td>
       </tr>
       </tr>


Line 158: Line 136:
       <td>typedef struct PQGVerifyStr</td>
       <td>typedef struct PQGVerifyStr</td>
         <td>PQGVerify</td>
         <td>PQGVerify</td>
         <td>The structure representing the context of a digital signature  
         <td>The structure representing the context of a digital signature containing data associated with the verification (in terms of validity) of a set of  parameters contained in a DSA key pair.</td>
containing   data associated with the verification (in terms of validity)  
of a set of  parameters contained in a DSA key pair.</td>
       </tr>
       </tr>
         <tr>
         <tr>
Line 186: Line 162:
       </tr>
       </tr>
         <tr>
         <tr>
       <th>PKCS #5 <br>
       <th>PKCS #5<br>Password-Based<br>Encryption</th>
      Password-Based <br>
 
      Encryption</th>
         <td>typedef struct SECItemStr</td>
         <td>typedef struct SECItemStr</td>
         <td>SECItem</td>
         <td>SECItem</td>
Line 196: Line 169:
       </tr>
       </tr>
         <tr>
         <tr>
       <th rowspan="2">PKCS #12 <br>
       <th rowspan="2">PKCS #12 <br>Personal <br>Information <br>Exchange</th>
 
      Personal <br>
      Information <br>
      Exchange</th>
         <td>typedef struct SEC_PKCS12ExportContextStr</td>
         <td>typedef struct SEC_PKCS12ExportContextStr</td>
         <td>SEC_PKCS12ExportContext</td>
         <td>SEC_PKCS12ExportContext</td>
Line 213: Line 182:
         <tr>
         <tr>


       <th rowspan="2">Prime <br>
       <th rowspan="2">Prime<br>Number<br>Generation</th>
      Number <br>
      Generation</th>
         <td>typedef struct</td>
         <td>typedef struct</td>
         <td>mp_int</td>
         <td>mp_int</td>
Line 229: Line 196:
         <tr>
         <tr>


       <th rowspan="2">Private Key <br>
       <th rowspan="2">Private Key <br>Storage and <br>Retrieval</th>
      Storage and <br>
      Retrieval</th>
         <td>typedef struct SECKEYKeyDBHandleStr</td>
         <td>typedef struct SECKEYKeyDBHandleStr</td>
         <td>SECKEYKeyDBHandle</td>
         <td>SECKEYKeyDBHandle</td>
Line 245: Line 210:
         <tr>
         <tr>


       <th rowspan="2">SSL Session ID <br>
       <th rowspan="2">SSL Session ID <br>Cache <br>(Secret <br>Management)</th>
      Cache <br>
      (Secret <br>
      Management)</th>
         <td>typedef struct SSLSecurityInfoStr</td>
         <td>typedef struct SSLSecurityInfoStr</td>
         <td>SSLSecurityInfo</td>
         <td>SSLSecurityInfo</td>

Revision as of 02:21, 18 April 2006

Table III. Security Relevant Data Items
Category Type of Data Item Name of Data Item Description of Data Item
Generic
Containers
typedef struct SECAlgorithmIDStr SECAlgorithmID The structure containing two SECItems which identify the X.500 algorithm. 
typedef struct SECItemStr SECItem Generic container used to hold type of data, actual data content, and length of data.
typedef struct SECKEYLowPrivateKeyStr SECKEYLowPrivateKey Generic container used for low-level private key structures including RSA and DSA private keys. This structure is used below the PKCS #11 service layer and contains the actual private key.
typedef struct SECKEYLowPublicKeyStr SECKEYLowPublicKey Generic container used for low-level public key structures including RSA and DSA public keys. This structure is used below the PKCS #11 service layer and contains the actual public key.
typedef struct SECKEYPrivateKeyStr SECKEYPrivateKey Generic container used as a high-level pointer to the defined private key structures, and is used above the PKCS #11 service layer.
typedef struct SECKEYPublicKeyStr SECKEYPublicKey Generic container used as a high-level pointer to the defined public key structures, and is used above the PKCS #11 service layer.
typedef enum SECOidTag Generic container used to identify the supported object IDs.
typedef enum _SECStatus SECStatus Generic container used primarily to indicate success or failure.
Certificate
Storage and
Retrieval
typedef struct CERTCertificateStr CERTCertificate The structure representing an X.509 certificate object (the unsigned form).
typedef struct CERTCertDBHandleStr CERTCertDBHandle The structure representing a handle to an open certificate database.
typedef struct CERTCertTrustStr CERTCertTrust The trust structure containing flags for SSL and email.
typedef struct _certDBEntryCert certDBEntryCert The structure for certificate database entries.
Digital
Signatures
typedef struct DSAPrivateKeyStr DSAPrivateKey The structure representing the context of a digital signature containing data associated with the private portion of the DSA key pair.
typedef struct DSAPublicKeyStr DSAPublicKey The structure representing the context of a digital signature verification containing data associated with the public portion of the DSA key pair.
typedef struct RSAPrivateKeyStr RSAPrivateKey The structure representing the context of an RSA signature generation or decryption mechanism used for both signature generation and key exchange; containing data associated with the private portion of the RSA key pair.
typedef struct RSAPublicKeyStr RSAPublicKey The structure representing the context of an RSA signature verification or encryption mechanism used for both signature verification and key exchange; containing data associated with the public portion of the RSA key pair.
Encryption/
Decryption
typedef struct DESContextStr DESContext The structure representing the context of a DES encryption/decryption containing an encrypt/decrypt flag, space for up to three distinct keys, space for the carry-forward needed for CBC modes of DES, and function pointers to the appropriate encryption and decryption functions associated with that mode of DES.
Hashing typedef struct SHA1ContextStr SHA1Context The structure representing the context of a SHA-1 hash containing information relevant to performing a SHA-1 hash.
Key
Generation
typedef struct PQGParamsStr PQGParams The structure representing the context of a digital signature key generation containing multiple items including pointers to both low-level public and private key structures containing the public and private portions of the DSA key pair.
typedef struct PQGVerifyStr PQGVerify The structure representing the context of a digital signature containing data associated with the verification (in terms of validity) of a set of parameters contained in a DSA key pair.
typedef struct DSAPrivateKeyStr DSAPrivateKey The structure containing the private portion of the DSA key pair.
typedef struct DSAPublicKeyStr DSAPublicKey The structure containing the public portion of the DSA key pair.
typedef struct RSAPrivateKeyStr RSAPrivateKey The structure containing the private portion of the RSA key pair.
typedef struct RSAPublicKeyStr RSAPublicKey The structure containing the public portion of the RSA key pair.
PKCS #5
Password-Based
Encryption
typedef struct SECItemStr SECItem Utilizes this generic container to hold password-based encryption data.
PKCS #12
Personal
Information
Exchange
typedef struct SEC_PKCS12ExportContextStr SEC_PKCS12ExportContext The structure representing the context of a PKCS#12 export operation.
typedef struct SEC_PKCS12DecoderContextStr SEC_PKCS12DecoderContext The structure representing the context of a PKCS#12 import operation.
Prime
Number
Generation
typedef struct mp_int The structure used to hold very large numbers.
typedef int mp_err The integer used to hold error codes from the Multi-Precision Arithmetic (big integer) library.
Private Key
Storage and
Retrieval
typedef struct SECKEYKeyDBHandleStr SECKEYKeyDBHandle The structure representing a handle into the private key database.
typedef struct SECKEYLowPrivateKeyStr SECKEYLowPrivateKey Utilizes this generic container used for low-level private key structures.
SSL Session ID
Cache
(Secret
Management)
typedef struct SSLSecurityInfoStr SSLSecurityInfo The structure containing all information relevant to SSL security.
typedef struct SSLSessionIDStr SSLSessionID The structure containing data relevant to the SSL session ID including the session ID cache and the master secret.