getKeyInfo (method)
Gets a key's information and public key.
Syntax
- (void)getKeyInfo:(NSString*)keyName;
public func getKeyInfo(_ keyName: String) throws -> Void
Remarks
This method gets the information, including the public key, for the key specified by KeyName. The VersionId configuration setting can be used to target a specific key version. Alternatively, the GetDeleted configuration setting can be enabled to get a soft-deleted key's information (but only for the last version).
When the information is returned, the class clears the Key* properties and repopulates them with a single item that contains the key's information, and repopulates the Tag* properties with the key's tags. The KeyList event is also fired.