Qorus Integration Engine® Enterprise Edition 6.0.15_prod
|
manages Qorus encryption keys More...
Public Member Methods | |
binary | serializeEncryptSensitiveData (hash< auto > data, binary iv, reference mac, string aad) |
returns a binary object encrypted with AES-256 for a sensitive data hash More... | |
hash< auto > | deserializeDecryptSensitiveData (binary data, binary iv, binary mac, string aad) |
returns a decrypted sensitive data hash from the AES-256-encrypted binary object and other encryption arguments More... | |
string | encodeEncryptSensitiveValue (string svalue) |
returns a string encrypted with Blowfish and subjected to base64 encoding for a sensitive data key value More... | |
string | decodeDecryptSensitiveValue (string svalue) |
returns a decoded and decrypted sensitive data key value from the base64-encoded encrypted value More... | |
hash< auto > | encryptOrderData (softint wfiid, string skey, string svalue, hash< auto > info, *hash< auto > meta) |
encrypt the data needed for a row in sensitive_order_data | |
abstract *string | getKeyOption (string opt) |
returns the value of a system opion as a string | |
Private Member Methods | |
setupEncryption () | |
sets up encryption keys and verifies their state | |
manages Qorus encryption keys
string OMQ::CryptoKeyHelper::decodeDecryptSensitiveValue | ( | string | svalue | ) |
returns a decoded and decrypted sensitive data key value from the base64-encoded encrypted value
svalue | the base64-encoded encrypted value |
SENSITIVE-DATA-ERROR | encryption options are not set with valid encryption keys |
hash< auto > OMQ::CryptoKeyHelper::deserializeDecryptSensitiveData | ( | binary | data, |
binary | iv, | ||
binary | mac, | ||
string | aad | ||
) |
returns a decrypted sensitive data hash from the AES-256-encrypted binary object and other encryption arguments
data | the sensitive data to decrypt using the AES-256 algorithm |
iv | the 12-byte initialization vector used for encryption |
mac | a reference to a binary object that will return the Message Authentication Code |
aad | Additional Authenticated Data for the mac |
SENSITIVE-DATA-ERROR | encryption options are not set with valid encryption keys |
string OMQ::CryptoKeyHelper::encodeEncryptSensitiveValue | ( | string | svalue | ) |
returns a string encrypted with Blowfish and subjected to base64 encoding for a sensitive data key value
svalue | the sensitive data key value to encrypt |
SENSITIVE-DATA-ERROR | encryption options are not set with valid encryption keys |
binary OMQ::CryptoKeyHelper::serializeEncryptSensitiveData | ( | hash< auto > | data, |
binary | iv, | ||
reference | mac, | ||
string | aad | ||
) |
returns a binary object encrypted with AES-256 for a sensitive data hash
data | the sensitive data hash to encrypt |
iv | a 12-byte initialization vector for the AES-256 encryption algorithm |
mac | a reference to a binary object that will return the Message Authentication Code |
aad | Additional Authenticated Data for the mac |
SENSITIVE-DATA-ERROR | encryption options are not set with valid encryption keys |