| RSA BSAFE Cert-C |
Certificate Components for C |
| Crypto-C 6.2.1 Developer's Guide | ||
| Search |
#include "basetype.h"
#include "bsafe.h"
Go to the source code of this file.
Data Structures | |
| LIST_OBJ_ENTRY_HANDLER | |
| Stores application-defined data. More... | |
Typedefs | |
| typedef void(* | VALUE_DESTRUCTOR )(POINTER value) |
| Deletes a value. More... | |
| typedef struct | LIST_OBJ_ENTRY_HANDLER |
| Stores application-defined data. More... | |
Functions | |
| int | C_CreateListObject (LIST_OBJ *listObject) |
| Creates a new list object and saves the result in listObject. More... | |
| int | C_DeleteListObjectEntry (LIST_OBJ listObject, unsigned int entryIndex) |
| Deletes the entry referenced by entryIndex in the listObject. More... | |
| void | C_DestroyListObject (LIST_OBJ *listObject) |
| Frees all memory that listObject used, including all the entries in the listObject. More... | |
| int | C_GetListObjectEntry (LIST_OBJ listObject, unsigned int entryIndex, POINTER *entry) |
| Retrieves the entry referenced by entryIndex of base zero in the listObject. More... | |
| int | C_GetListObjectCount (LIST_OBJ listObject, unsigned int *count) |
| Retrieves the number of entries in listObject and returns it in entryCount. More... | |
| void | C_ResetListObject (LIST_OBJ listObject) |
| Returns listObject to the state it was in after it was created by C_CreateListObject(). More... | |
| int | C_AddListObjectEntry (LIST_OBJ listObject, POINTER entry, unsigned int *entryIndex, LIST_OBJ_ENTRY_HANDLER *handler) |
| Adds a new entry to listObject and returns the new entry's index in entryIndex. More... | |
| int | C_InsertListObjectEntry (LIST_OBJ listObject, POINTER entry, unsigned int entryIndex, LIST_OBJ_ENTRY_HANDLER *handler) |
| Inserts an entry into listObject at the position entryIndex. More... | |
| int | C_AddCertToList (LIST_OBJ listObject, CERT_OBJ cert, unsigned int *entryIndex) |
| Adds a copy of a certificate object to the specified list object. More... | |
| int | C_AddCertToListNoCopy (LIST_OBJ listObject, CERT_OBJ cert, unsigned int *entryIndex) |
| Adds a certificate object reference to the specified list object. More... | |
| int | C_AddUniqueCertToList (LIST_OBJ listObject, CERT_OBJ cert, unsigned int *entryIndex) |
| Adds a copy of a certificate object to the specified list object if it is not in the list. More... | |
| int | C_AddUniqueCertToListNoCopy (LIST_OBJ listObject, CERT_OBJ cert, unsigned int *entryIndex) |
| Adds a copy of a certificate object reference to the specified list object if it is not in the list. More... | |
| int | C_InsertCertInList (LIST_OBJ listObject, CERT_OBJ cert, unsigned int entryIndex) |
| Inserts a copy of a certificate object into the specified list object at the given position. More... | |
| int | C_InsertCertInListNoCopy (LIST_OBJ listObject, CERT_OBJ cert, unsigned int entryIndex) |
| Inserts a copy of a certificate object reference into the specified list object at the given position. More... | |
| int | C_AddCRLToList (LIST_OBJ listObject, CRL_OBJ crl, unsigned int *entryIndex) |
| Adds a copy of a CRL object to the specified list object. More... | |
| int | C_AddCRLToListNoCopy (LIST_OBJ listObject, CRL_OBJ crl, unsigned int *entryIndex) |
| Adds a copy of a CRL object reference to the specified list object. More... | |
| int | C_AddUniqueCRLToList (LIST_OBJ listObject, CRL_OBJ crl, unsigned int *entryIndex) |
| Adds a copy of a CRL object to the specified list object. More... | |
| int | C_AddUniqueCRLToListNoCopy (LIST_OBJ listObject, CRL_OBJ crl, unsigned int *entryIndex) |
| Adds a copy of a CRL object reference to the specified list object. More... | |
| int | C_InsertCRLInList (LIST_OBJ listObject, CRL_OBJ crl, unsigned int entryIndex) |
| Inserts a copy of a CRL object into the specified list object at the given position. More... | |
| int | C_InsertCRLInListNoCopy (LIST_OBJ listObject, CRL_OBJ crl, unsigned int entryIndex) |
| Inserts a copy of a CRL object reference into the specified list object at the given position. More... | |
| int | C_AddPrivateKeyToList (LIST_OBJ listObject, B_KEY_OBJ privateKey, unsigned int *entryIndex) |
| Adds a copy of a private key object to the specified list object. More... | |
| int | C_InsertPrivateKeyInList (LIST_OBJ listObject, B_KEY_OBJ privateKey, unsigned int entryIndex) |
| Inserts a copy of a private key object into the specified list object at the given position. More... | |
| int | C_AddItemToList (LIST_OBJ listObject, ITEM *item, unsigned int *entryIndex) |
| Adds a copy of an item to the specified list object. More... | |
| int | C_InsertItemInList (LIST_OBJ listObject, ITEM *item, unsigned int entryIndex) |
| Inserts a copy of an item into the specified list object at the given position. More... | |
| int | C_AddUniqueItemToList (LIST_OBJ listObject, ITEM *item, unsigned int *entryIndex) |
Adds a copy of an ITEM to the specified list object if it is not on the list. More... | |
|
|
Stores application-defined data. An application can use this structure to store any kind of application-defined data in a |
|
|
Deletes a value. Use the
|
|
||||||||||||||||
|
Adds a copy of a certificate object to the specified list object. Duplicate list entries are permitted.
|
|
||||||||||||||||
|
Adds a certificate object reference to the specified list object. Duplicate list entries are permitted. The difference between this function and C_AddCertToList() is that only a reference to the certificate is added to the list and not a true copy of the certificate. This greatly improves performance, but the certificate should not be modified outside of the list.
|
|
||||||||||||||||
|
Adds a copy of a CRL object to the specified list object. Duplicate list entries are permitted.
|
|
||||||||||||||||
|
Adds a copy of a CRL object reference to the specified list object. Duplicate list entries are permitted. The difference between this function and C_AddCRLToList() is that only a reference to the CRL is copied to the list and not a true copy of the CRL. This enhances performance, but the CRL should not be modified outside of the list.
|
|
||||||||||||||||
|
Adds a copy of an item to the specified list object. Duplicate list entries are permitted.
|
|
||||||||||||||||||||
|
Adds a new entry to listObject and returns the new entry's index in entryIndex.
|
|
||||||||||||||||
|
Adds a copy of a private key object to the specified list object. Duplicate list entries are permitted.
|
|
||||||||||||||||
|
Adds a copy of a certificate object to the specified list object if it is not in the list. If the certificate is already on the list, it does not add it again. Duplicate list entries (as determined by matching issuer names and serial numbers) are not permitted.
|
|
||||||||||||||||
|
Adds a copy of a certificate object reference to the specified list object if it is not in the list. If the certificate is already on the list, it does not add it again. Duplicate list entries (as determined by matching issuer names and serial numbers) are not permitted. The difference between this function and C_AddUniqueCertToList() is that only a reference to the certificate is added to the list and not a true copy of the certificate. This greatly improves performance, but the certificate should not be modified outside of the list.
|
|
||||||||||||||||
|
Adds a copy of a CRL object to the specified list object. If the CRL to add is not in the list, this function adds it. If the CRL is already on the list, this function does not add it again. Duplicate list entries (which are determined by matching issuer names and last-update times) are not permitted.
|
|
||||||||||||||||
|
Adds a copy of a CRL object reference to the specified list object. If the CRL to add is not in the list, this function adds it. If the CRL is already on the list, this function does not add it again. Duplicate list entries (which are determined by matching issuer names and last-update times) are not permitted. The difference between this function and C_AddUniqueCRLToList() is that only a reference to the CRL is copied to the list and not a true copy of the CRL. This enhances performance, but the CRL should not be modified outside of the list.
|
|
||||||||||||||||
|
Adds a copy of an
|
|
|
Creates a new list object and saves the result in listObject. If this function is unsuccessful, no memory is allocated and listObject is set to
|
|
||||||||||||
|
Deletes the entry referenced by entryIndex in the listObject. The indexes of all the entries after entryIndex are shifted back by one. Returns an error if the entry is not found.
|
|
|
Frees all memory that listObject used, including all the entries in the listObject. Sets listObject to
|
|
||||||||||||
|
Retrieves the number of entries in listObject and returns it in entryCount.
|
|
||||||||||||||||
|
Retrieves the entry referenced by entryIndex of base zero in the listObject. If found, a pointer to the entry is saved in entry. Otherwise, an error is returned. The data structure for entry depends on the list object's type. This function is is intended to obtain a read-only entry. Do not attempt to perform any
|
|
||||||||||||||||
|
Inserts a copy of a certificate object into the specified list object at the given position. Duplicate list entries are permitted.
|
|
||||||||||||||||
|
Inserts a copy of a certificate object reference into the specified list object at the given position. Duplicate list entries are permitted. The difference between this function and C_InsertCertInList() is that only a reference to the certificate is inserted in the list and not a true copy of the certificate. This greatly improves performance, but the certificate should not be modified outside of the list.
|
|
||||||||||||||||
|
Inserts a copy of a CRL object into the specified list object at the given position. Duplicate list entries are permitted.
|
|
||||||||||||||||
|
Inserts a copy of a CRL object reference into the specified list object at the given position. Duplicate list entries are permitted. The difference between this function and C_InsertCRLInList() is that only a reference to the CRL is copied to the list and not a true copy of the CRL. This enhances performance, but the CRL should not be modified outside of the list.
|
|
||||||||||||||||
|
Inserts a copy of an item into the specified list object at the given position. Duplicate list entries are permitted.
|
|
||||||||||||||||||||
|
Inserts an entry into listObject at the position entryIndex.
|
|
||||||||||||||||
|
Inserts a copy of a private key object into the specified list object at the given position. Duplicate list entries are permitted.
|
|
|
Returns listObject to the state it was in after it was created by C_CreateListObject(). It releases all the memory used by listObject.
|