PublicKeyVersion Property
Indicates the key version.
Object Oriented Interface
public function getPublicKeyVersion($publickeyindex);
Procedural Interface
secureblackbox_pgpkeyring_get($res, 32 , $publickeyindex);
Default Value
-1
Remarks
Indicates the key version.
The key version refers to the version of the public-key packet format as defined in RFC 4880.
Only two versions are currently allowed here: 3 and 4. It is recommended that all new keys are created with version of 4.
The $publickeyindex parameter specifies the index of the item in the array. The size of the array is controlled by the PublicKeyCount property.
This property is read-only and not available at design time.
Data Type
Integer