GetPublicKey Method
Retrieves the public key of an asymmetric key pair.
Object Oriented Interface
public function doGetPublicKey($keyname, $versionid);
Procedural Interface
cloudkeys_googlekms_do_getpublickey($res, $keyname, $versionid);
Remarks
This method retrieves the public key of the asymmetric key pair version specified by KeyName and VersionId. The algorithm of the key pair version is also retrieved. If successful, this method populates the PublicKey and PublicKeyAlgorithm properties.