SecureBlackbox 2020 C++ Edition

Questions / Feedback?

KeyHandle Property

Allows to get or set a 'handle', a unique identifier of the underlying property object.

Syntax

ANSI (Cross Platform)
int64 GetKeyHandle(int iKeyIndex);

Unicode (Windows)
LONG64 GetKeyHandle(INT iKeyIndex);
- (long long)keyHandle:(int)keyIndex;
#define PID_CRYPTOKEYSTORAGE_KEYHANDLE 5

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_CryptoKeyStorage_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_CryptoKeyStorage_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.

When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.

  pdfSigner.setSigningCertHandle(certMgr.getCertHandle());

The KeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the KeyCount property.

This property is read-only and not available at design time.

Data Type

Long64

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