LibreOffice Module onlineupdate (master) 1
Macros
cryptox.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define XP_MIN_SIGNATURE_LEN_IN_BYTES   256
 
#define CryptoX_Result   int
 
#define CryptoX_Success   0
 
#define CryptoX_Error   (-1)
 
#define CryptoX_Succeeded(X)   ((X) == CryptoX_Success)
 
#define CryptoX_Failed(X)   ((X) != CryptoX_Success)
 
#define CryptoX_InvalidHandleValue   NULL
 
#define CryptoX_ProviderHandle   void*
 
#define CryptoX_SignatureHandle   void*
 
#define CryptoX_PublicKey   void*
 
#define CryptoX_Certificate   void*
 
#define CryptoX_InitCryptoProvider(CryptoHandle)    CryptoX_Error
 
#define CryptoX_VerifyBegin(CryptoHandle, SignatureHandle, PublicKey)    CryptoX_Error
 
#define CryptoX_FreeSignatureHandle(SignatureHandle)
 
#define CryptoX_VerifyUpdate(SignatureHandle, buf, len)   CryptoX_Error
 
#define CryptoX_LoadPublicKey(CryptoHandle, certData, dataSize, publicKey)    CryptoX_Error
 
#define CryptoX_VerifySignature(hash, publicKey, signedData, len)   CryptoX_Error
 
#define CryptoX_FreePublicKey(key)   CryptoX_Error
 

Macro Definition Documentation

◆ CryptoX_Certificate

#define CryptoX_Certificate   void*

Definition at line 158 of file cryptox.h.

◆ CryptoX_Error

#define CryptoX_Error   (-1)

Definition at line 12 of file cryptox.h.

◆ CryptoX_Failed

#define CryptoX_Failed (   X)    ((X) != CryptoX_Success)

Definition at line 14 of file cryptox.h.

◆ CryptoX_FreePublicKey

#define CryptoX_FreePublicKey (   key)    CryptoX_Error

Definition at line 168 of file cryptox.h.

◆ CryptoX_FreeSignatureHandle

#define CryptoX_FreeSignatureHandle (   SignatureHandle)

Definition at line 163 of file cryptox.h.

◆ CryptoX_InitCryptoProvider

#define CryptoX_InitCryptoProvider (   CryptoHandle)     CryptoX_Error

Definition at line 159 of file cryptox.h.

◆ CryptoX_InvalidHandleValue

#define CryptoX_InvalidHandleValue   NULL

Definition at line 154 of file cryptox.h.

◆ CryptoX_LoadPublicKey

#define CryptoX_LoadPublicKey (   CryptoHandle,
  certData,
  dataSize,
  publicKey 
)     CryptoX_Error

Definition at line 165 of file cryptox.h.

◆ CryptoX_ProviderHandle

#define CryptoX_ProviderHandle   void*

Definition at line 155 of file cryptox.h.

◆ CryptoX_PublicKey

#define CryptoX_PublicKey   void*

Definition at line 157 of file cryptox.h.

◆ CryptoX_Result

#define CryptoX_Result   int

Definition at line 10 of file cryptox.h.

◆ CryptoX_SignatureHandle

#define CryptoX_SignatureHandle   void*

Definition at line 156 of file cryptox.h.

◆ CryptoX_Succeeded

#define CryptoX_Succeeded (   X)    ((X) == CryptoX_Success)

Definition at line 13 of file cryptox.h.

◆ CryptoX_Success

#define CryptoX_Success   0

Definition at line 11 of file cryptox.h.

◆ CryptoX_VerifyBegin

#define CryptoX_VerifyBegin (   CryptoHandle,
  SignatureHandle,
  PublicKey 
)     CryptoX_Error

Definition at line 161 of file cryptox.h.

◆ CryptoX_VerifySignature

#define CryptoX_VerifySignature (   hash,
  publicKey,
  signedData,
  len 
)    CryptoX_Error

Definition at line 167 of file cryptox.h.

◆ CryptoX_VerifyUpdate

#define CryptoX_VerifyUpdate (   SignatureHandle,
  buf,
  len 
)    CryptoX_Error

Definition at line 164 of file cryptox.h.

◆ XP_MIN_SIGNATURE_LEN_IN_BYTES

#define XP_MIN_SIGNATURE_LEN_IN_BYTES   256

Definition at line 8 of file cryptox.h.