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
|
| using System;
|
| namespace Dao
| {
| public class SpSignatureInfo
| {
| private string _Signatures;
|
| public string Signatures
| {
| get
| {
| return this._Signatures;
| }
| set
| {
| if (value == null)
| value = string.Empty;
| this._Signatures = string.Join("\n", value.Split(",;;\r\n\t".ToCharArray(), StringSplitOptions.RemoveEmptyEntries));
| }
| }
|
| public string SpID { get; set; }
|
| public int SignatureMode { get; set; }
|
| public string ClientID { get; set; }
|
| public static string GetSignatureModeText(int n)
| {
| if (n == 0)
| return "不校验签名";
| if (n == 1)
| return "校验后置签名";
| if (n == 2)
| return "校验前置签名";
| return n == 3 ? "混合校验签名" : "--";
| }
| }
| }
|
|