-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCandidateDataObjects.cs
More file actions
62 lines (59 loc) · 2.06 KB
/
CandidateDataObjects.cs
File metadata and controls
62 lines (59 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
namespace CryptidRest {
/// <summary>
/// The data objects for CandidateController
/// </summary>
internal class CandidateDataObjects {
/// <summary>
/// Data object for FullVerifyFromChain
/// </summary>
public class FullVerifyFromChain {
/// <summary>
/// The base64 encoded factom chain ID for the candidate
/// </summary>
public string ChainIdBase64 { get; set; }
/// <summary>
/// The password for this candidate
/// </summary>
public string Password { get; set; }
/// <summary>
/// The base64 encoded fingerprint image for this candidate
/// </summary>
public string FingerprintImageBase64 { get; set; }
}
/// <summary>
/// Data object for GetCandidateFromChain
/// </summary>
public class GetCandidateFromChain {
/// <summary>
/// The base64 encoded factom chain ID for the candidate
/// </summary>
public string ChainIdBase64 { get; set; }
/// <summary>
/// The password of the candidate
/// </summary>
public string Password { get; set; }
}
/// <summary>
/// Data object for UnpackCandidate
/// </summary>
public class UnpackCandidate {
/// <summary>
/// The base64 encoded packed candidate data
/// </summary>
public string PackedBase64 { get; set; }
/// <summary>
/// The password of the candidate
/// </summary>
public string Password { get; set; }
}
/// <summary>
/// Data object for VerifySignature
/// </summary>
public class VerifySignature {
/// <summary>
/// The base64 encoded packed candidate data
/// </summary>
public string PackedBase64 { get; set; }
}
}
}