Virtual USB Tools - Advanced USB to TCP/IP network configurations for your USB usage scenario
Download Virtual USB Tools Hide this button

IPublicKey Interface

This interface is implemented by a public key object. An instance of the public key object is obtained using the ITrustedServersDatabase.getTrustedServerKey, ITrustedServersDatabase.createPublicKey, IUsbClient.getRemoteServerPublicKey methods or IUsbServer.publicKey property.

Declaration

interface IPublicKey {
    // Properties
    readonly ${friendlyKey}: string;
    readonly ${fullKeyBase64}: string;
}
public interface IPublicKey
{
    // Properties
    string ${friendlyKey} { get; }
    string ${fullKeyBase64} { get; }
}
struct IPublicKey : IDispatch
{
    // Properties
    _bstr_t ${friendlyKey};  // get 
    _bstr_t ${fullKeyBase64};  // get 
};

IPublicKey Properties

friendlyKey

readonly friendlyKey: string;
string friendlyKey { get; }
_bstr_t friendlyKey;  // get 

Human-friendly representation of a public key. Note that the full public key cannot be reconstructed from this string.

fullKeyBase64

readonly fullKeyBase64: string;
string fullKeyBase64 { get; }
_bstr_t fullKeyBase64;  // get 

Full value of a public key, encoded as Base64 string. This value can be used to create new public key object with a help of ITrustedServersDatabase.createPublicKey method.