Functions | |
MQERETURN | mqeAttribute_new (MQeExceptBlock *pErrStruct, MQeAttributeHndl *phAttribute, MQECONST MQeStringHndl hRuleClassName, MQeAuthenticatorHndl hAuthenticator, MQeCryptorHndl hCryptor, MQeCompressorHndl hCompressor) |
This function returns an MQeAttribute handle. | |
MQERETURN | mqeAttribute_free (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct) |
Frees the MQeAttribute handle hAttribute. | |
MQERETURN | mqeAttribute_activate (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct, MQECONST MQeStringHndl hRuleClassName, MQeAuthenticatorHndl hAuthenticator, MQeCryptorHndl hCryptor, MQeCompressorHndl hCompressor) |
This function activates an MQeAttribute handle. | |
MQERETURN | mqeAttribute_authenticatedID (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct, MQeStringHndl *phID) |
This function returns the authenticated ID. | |
MQERETURN | mqeAttribute_change (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct, MQECONST MQeStringHndl hRuleClassName, MQeAttributeHndl hNewAttribute) |
This function changes the current Attribute. | |
MQERETURN | mqeAttribute_close (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct) |
This function closes the attribute. | |
MQERETURN | mqeAttribute_decodeData (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct, MQEBYTE *pBuffer, MQEINT32 *pBufLength, MQEBYTE *pData, MQEINT32 offset, MQEINT32 length) |
This function decrypts and/or decompresses the bytes referenced by pData, at offset offset and for length length. | |
MQERETURN | mqeAttribute_encodeData (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct, MQEBYTE *pBuffer, MQEINT32 *pBufLength, MQEBYTE *pData, MQEINT32 offset, MQEINT32 length) |
This function encrypts and/or compresses the bytes referenced by pData, at offset offset and for length length. | |
MQERETURN | mqeAttribute_isAcceptable (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct, MQEBOOL *pIsAcceptable, MQeAttributeHndl hAlternative) |
Check if hAlternative is an acceptable attribute for replacing hAttribute. | |
MQERETURN | mqeAttribute_getAuthenticator (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct, MQeAuthenticatorHndl *phOut) |
This function gets the authenticator attached to this attribute. | |
MQERETURN | mqeAttribute_getCompressor (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct, MQeCompressorHndl *phOut) |
This function gets the compressor attached to this attribute. | |
MQERETURN | mqeAttribute_getCryptor (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct, MQeCryptorHndl *phOut) |
This function gets the cryptor attached to this attribute. | |
MQERETURN | mqeAttribute_setKey (MQeAttributeHndl hAttribute, MQeExceptBlock *pErrStruct, MQeKeyHndl hKey) |
This method associates a key with the attribute. This key is required if the attribute has a cryptor. |
Describes MQeAttribute API prototypes.
|
|
|
|
|
Typically used when not in a networked environment.
|
|
(*phID) is NULL if not authenticated.
|
|
|
|
|
|
|
|
|
|
This function normally compares hAttribute and hAlternative using the rule attached to the attribute hAttribute. If no rule is attached, this function returns MQE_TRUE in (*pIsAcceptable) if hAttribute's and hAlternative's authenticator, compressor, and cryptor are the same. Otherwise, it returns MQE_FALSE.
|
|
|
|
|
|
|
|
|