SetPrimaryVersion Method

Sets the primary version of a symmetric key.

Object Oriented Interface

public function doSetPrimaryVersion($keyname, $versionid);

Procedural Interface

cloudkeys_googlekms_do_setprimaryversion($res, $keyname, $versionid);

Remarks

This method sets the primary version of the symmetric key specified by KeyName to the version identified by VersionId.

A symmetric key's primary version is the one used by the server when Encrypt is called. It can be changed at any time. Asymmetric keys cannot have primary versions.

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