-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPowershellSignatureTraits.cs
30 lines (26 loc) · 1.21 KB
/
PowershellSignatureTraits.cs
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
namespace PowershellScriptTimestamp
{
internal class PowershellSignatureTraits : IAuthenticodeSignatureTraits
{
/// <summary>
/// Code point sequence that is found before every signature
/// </summary>
string IAuthenticodeSignatureTraits.SignatureBeginSequence => "\r\n# SIG # Begin signature block\r\n";
/// <summary>
/// Code point sequence that is found after every signature
/// </summary>
string IAuthenticodeSignatureTraits.SignatureEndSequence => "\r\n# SIG # End signature block\r\n";
/// <summary>
/// Code point sequence that is found at the beginning of each signature chunk
/// </summary>
string IAuthenticodeSignatureTraits.SignatureLineBeginning => "# ";
/// <summary>
/// Code point sequence that is found at the end of each signature chunk, including the line terminator
/// </summary>
string IAuthenticodeSignatureTraits.SignatureLineEnding => "\r\n";
/// <summary>
/// Number of base64 characters found on each signature chunk.
/// </summary>
int IAuthenticodeSignatureTraits.SignatureCharsPerLine => 64;
}
}