KeyPrimaryVersion Property

The Id of the key's primary version.

Syntax

ANSI (Cross Platform)
char* GetKeyPrimaryVersion(int iKeyIndex);

Unicode (Windows)
LPWSTR GetKeyPrimaryVersion(INT iKeyIndex);
- (NSString*)keyPrimaryVersion:(int)keyIndex;
#define PID_GOOGLEKMS_KEYPRIMARYVERSION 23

CLOUDKEYS_EXTERNAL void* CLOUDKEYS_CALL CloudKeys_GoogleKMS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

CLOUDKEYS_EXTERNAL int CLOUDKEYS_CALL CloudKeys_GoogleKMS_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

The Id of the key's primary version.

For symmetric keys, this property reflects the Id of the key's primary version. For asymmetric keys, this property is always empty, since asymmetric keys cannot have a primary version.

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

String

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