keyExpiryDate (property)

The expiration date of the key.

Syntax

- (long long)keyExpiryDate:(int)keyIndex;
public func keyExpiryDate(keyIndex: Int32) throws -> Int64

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.

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