FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OILcrypto.cpp File Reference
#include <OMEruntime.h>
#include <OMEcrypto.h>

Macros

#define ARG_IS_INT32(x)   OME_TypeCheck::isHeldBy32BitInteger(x)
 

Functions

int SHA1hash (OMEthread *thread, OMEtype &result, const OMEtype &message)
 
int SHA256hash (OMEthread *thread, OMEtype &result, const OMEtype &message)
 
int MD5hash (OMEthread *thread, OMEtype &result, const OMEtype &message)
 
int makePublicKeyPair (OMEthread *thread, OMEtype &result, const OMEtype &secret)
 
int makeSessionKey (OMEthread *thread, OMEtype &result, const OMEtype &publicKey, const OMEtype &randomData)
 
int decryptSessionKey (OMEthread *thread, OMEtype &result, const OMEtype &privateKey, const OMEtype &encryptedKey)
 
int initializeCipher (OMEthread *thread, OMEtype &result, const OMEtype &secret, const OMEtype &dir, const OMEtype &initVec)
 
int freeCipher (OMEthread *thread, OMEtype &result, const OMEtype &cipherData)
 
int encryptMessage (OMEthread *thread, OMEtype &result, const OMEtype &cipherData, const OMEtype &message)
 
int decryptMessage (OMEthread *thread, OMEtype &result, const OMEtype &cipherData, const OMEtype &message)
 
int getRandomInteger (OMEthread *thread, OMEtype &result, const OMEtype &upperBound)
 
int makeRandomKey (OMEthread *thread, OMEtype &result, const OMEtype &desiredBits)
 
int getLocalizedData (OMEthread *thread, OMEtype &result, OMEtype &fileName, OMEtype &attrName)
 
int getHostKey (OMEthread *thread, OMEtype &result, const OMEtype &secret, const OMEtype &logicalDomain)
 
int getRemoteHostKey (OMEthread *thread, OMEtype &result, const OMEtype &rmtHostName, const OMEtype &logicalDomain)
 

Macro Definition Documentation

◆ ARG_IS_INT32

#define ARG_IS_INT32 (   x)    OME_TypeCheck::isHeldBy32BitInteger(x)

Function Documentation

◆ getLocalizedData()

int getLocalizedData ( OMEthread thread,
OMEtype result,
OMEtype fileName,
OMEtype attrName 
)

◆ SHA256hash()

int SHA256hash ( OMEthread thread,
OMEtype result,
const OMEtype message 
)
Generated: Tue Jul 28 2020 16:03:26
Support Information