IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

ReferenceHashAlgorithm Property

This property defines the hash algorithm to apply to the element specified by XMLElement .

Syntax

ANSI (Cross Platform)
char* GetReferenceHashAlgorithm(int iReferenceIndex);
int SetReferenceHashAlgorithm(int iReferenceIndex, const char* lpszReferenceHashAlgorithm); Unicode (Windows) LPWSTR GetReferenceHashAlgorithm(INT iReferenceIndex);
INT SetReferenceHashAlgorithm(INT iReferenceIndex, LPCWSTR lpszReferenceHashAlgorithm);
- (NSString*)referenceHashAlgorithm:(int)referenceIndex;
- (void)setReferenceHashAlgorithm:(int)referenceIndex:(NSString*)newReferenceHashAlgorithm;
#define PID_XMLSIG_REFERENCEHASHALGORITHM 14

IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_XMLSig_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_XMLSig_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_XMLSig_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

"SHA1"

Remarks

This property defines the hash algorithm to apply to the element specified by ReferenceXMLElement. Possible values are:

  • "SHA1" (default)
  • "SHA256"
  • "SHA512"

The ReferenceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ReferenceCount property.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 C++ Edition - Version 20.0 [Build 8155]