KeyExpiryDate Property

The expiration date of the key.

Syntax

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

Unicode (Windows)
LONG64 GetKeyExpiryDate(INT iKeyIndex);
- (long long)keyExpiryDate:(int)keyIndex;
#define PID_AZUREKEYS_KEYEXPIRYDATE 17

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

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

Default Value

-1

Remarks

The expiration date of the key.

This property reflects the expiration date of the key, in seconds since the Unix epoch, or -1 if the key does not expire.

A key can only be used for the Decrypt, Verify, and UnwrapKey operations after its expiry date.

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.
Cloud Keys 2020 C++ Edition - Version 20.0 [Build 8157]