#include <ctype.h>
#include "cryptlib.h"
#include "test/test.h"
Go to the source code of this file.
|
| int | checkFileAccess (void) |
| |
| int | checkNetworkAccess (void) |
| |
| int | importCertFile (CRYPT_CERTIFICATE *cryptCert, const C_STR fileName) |
| |
| int | importCertFromTemplate (CRYPT_CERTIFICATE *cryptCert, const C_STR fileTemplate, const int number) |
| |
| int | getPublicKey (CRYPT_CONTEXT *cryptContext, const C_STR keysetName, const C_STR keyName) |
| |
| int | getPrivateKey (CRYPT_CONTEXT *cryptContext, const C_STR keysetName, const C_STR keyName, const C_STR password) |
| |
| const C_STR | getKeyfileName (const KEYFILE_TYPE type, const BOOLEAN isPrivKey) |
| |
| const C_STR | getKeyfilePassword (const KEYFILE_TYPE type) |
| |
| const C_STR | getKeyfileUserID (const KEYFILE_TYPE type, const BOOLEAN isPrivKey) |
| |
| void | createMutex (void) |
| |
| void | acquireMutex (void) |
| |
| void | releaseMutex (void) |
| |
| int | waitMutex (void) |
| |
| void | destroyMutex (void) |
| |
| void | printErrorAttributeInfo (const CRYPT_HANDLE cryptHandle) |
| |
| void | printExtError (const CRYPT_HANDLE cryptHandle, const char *functionName, const int functionStatus, const int lineNo) |
| |
| BOOLEAN | attrErrorExit (const CRYPT_HANDLE cryptHandle, const char *functionName, const int errorCode, const int lineNumber) |
| |
| BOOLEAN | extErrorExit (const CRYPT_HANDLE cryptHandle, const char *functionName, const int errorCode, const int lineNumber) |
| |
| CRYPT_ALGO_TYPE | selectCipher (const CRYPT_ALGO_TYPE algorithm) |
| |
| int | addCertFields (const CRYPT_CERTIFICATE certificate, const CERT_DATA *certData, const int lineNo) |
| |
| void | debugDump (const char *fileName, const void *data, const int dataLength) |
| |
| int | printConnectInfo (const CRYPT_SESSION cryptSession) |
| |
| int | printSecurityInfo (const CRYPT_SESSION cryptSession, const BOOLEAN isServer, const BOOLEAN showFingerprint, const BOOLEAN showServerKeyInfo, const BOOLEAN showClientCertInfo) |
| |
| int | printFingerprint (const CRYPT_SESSION cryptSession, const BOOLEAN isServer) |
| |
| BOOLEAN | setLocalConnect (const CRYPT_SESSION cryptSession, const int port) |
| |
| int | activatePersistentServerSession (const CRYPT_SESSION cryptSession, const BOOLEAN showOperationType) |
| |
| int | displayAttributes (const CRYPT_HANDLE cryptHandle) |
| |
| int | printCertInfo (const CRYPT_CERTIFICATE certificate) |
| |
| int | printCertChainInfo (const CRYPT_CERTIFICATE certChain) |
| |
Value:
return( certInfoErrorExit( #
function,
status, __LINE__ ) )
Definition at line 1421 of file utils.c.
| #define EXPIRY_WARN_DAYS 30 |
| #define LOCAL_HOST_NAME "localhost" |
| void acquireMutex |
( |
void |
| ) |
|
| int checkFileAccess |
( |
void |
| ) |
|
| int checkNetworkAccess |
( |
void |
| ) |
|
| void createMutex |
( |
void |
| ) |
|
| void debugDump |
( |
const char * |
fileName, |
|
|
const void * |
data, |
|
|
const int |
dataLength |
|
) |
| |
| void destroyMutex |
( |
void |
| ) |
|
| void releaseMutex |
( |
void |
| ) |
|