Method | Description | |
---|---|---|
DeserializeToken ( JSONReader JSONReader, string Tag ) : void |
Having read a tag, process the corresponding value data.
|
|
FindSignatureKey ( List |
Find a device profile with the specified signing key from a list.
|
|
From ( byte _Data ) : |
Create a new instance from untagged byte input. i.e. {... data ... }
|
|
From ( string _Input ) : |
Create a new instance from untagged string input. i.e. {... data ... }
|
|
FromFile ( string UDF, string FileName ) : |
Search for the specified profile on the local machine.
|
|
FromTagged ( JSONReader JSONReader ) : |
Deserialize a tagged stream
|
|
FromTagged ( byte _Data ) : |
Create a new instance from tagged byte input. i.e. { "SignedDeviceProfile" : {... data ... } }
|
|
FromTagged ( string _Input ) : |
Create a new instance from tagged string input. i.e. { "SignedDeviceProfile" : {... data ... } }
|
|
Serialize ( Writer Writer, bool wrap, bool &first ) : void |
Serialize this object to the specified output stream.
|
|
SerializeX ( Writer _Writer, bool _wrap, bool &_first ) : void |
Serialize this object to the specified output stream. Unlike the Serlialize() method, this method is not inherited from the parent class allowing a specific version of the method to be called.
|
|
Sign ( |
Sign the device profile.
|
|
SignedDeviceProfile ( ) : System |
Default Constructor
|
|
SignedDeviceProfile ( |
Construct a signed profile from a device profile.
|
|
SignedDeviceProfile ( JSONReader JSONReader ) : System |
Initialize class from JSONReader stream.
|
|
SignedDeviceProfile ( string _String ) : System |
Initialize class from a JSON encoded class.
|
|
SignedDeviceProfile ( string Name, string Description ) : System |
Create a new device profile and persist it in the registry as the default profile.
|
|
Tag ( ) : string |
Tag identifying this class.
|
|
Unpack ( ) : |
Deserialize the signed data.
|
|
UnpackAndVerify ( ) : |
Unpack the signed device profile data and verify it for consistency. Check the signature.
|
public DeserializeToken ( JSONReader JSONReader, string Tag ) : void | ||
JSONReader | JSONReader | The input stream |
Tag | string | The tag |
return | void |
public static FindSignatureKey ( List |
||
Devices | List |
The list of devices to search. |
UDF | string | The identifier of the key to find. |
return |
public static From ( byte _Data ) : |
||
_Data | byte | The input data. |
return |
public static From ( string _Input ) : |
||
_Input | string | The input data. |
return |
public static FromFile ( string UDF, string FileName ) : |
||
UDF | string | Fingerprint of the profile to find. |
FileName | string | The name of the file |
return |
public static FromTagged ( JSONReader JSONReader ) : |
||
JSONReader | JSONReader | The input stream |
return |
public static FromTagged ( byte _Data ) : |
||
_Data | byte | The input data. |
return |
public static FromTagged ( string _Input ) : |
||
_Input | string | The input data. |
return |
public Serialize ( Writer Writer, bool wrap, bool &first ) : void | ||
Writer | Writer | Output stream |
wrap | bool | If true, output is wrapped with object /// start and end sequences '{ ... }'. |
first | bool | If true, item is the first entry in a list. |
return | void |
public SerializeX ( Writer _Writer, bool _wrap, bool &_first ) : void | ||
_Writer | Writer | Output stream |
_wrap | bool | If true, output is wrapped with object /// start and end sequences '{ ... }'. |
_first | bool | If true, item is the first entry in a list. |
return | void |
public Sign ( |
||
Data | The device profile to sign. | |
return | void |
public SignedDeviceProfile ( |
||
Data | The device profile to sign. | |
return | System |
public SignedDeviceProfile ( JSONReader JSONReader ) : System | ||
JSONReader | JSONReader | Input stream |
return | System |
public SignedDeviceProfile ( string _String ) : System | ||
_String | string | Input string |
return | System |
public SignedDeviceProfile ( string Name, string Description ) : System | ||
Name | string | Name of the device |
Description | string | Description of the device. |
return | System |