Esempio n. 1
0
 internal override void SignBuilder(
     ExtendedPEBuilder peBuilder,
     BlobBuilder peBlob,
     RSAParameters privateKey
     )
 {
     peBuilder.Sign(
         peBlob,
         content => SigningUtilities.CalculateRsaSignature(content, privateKey)
         );
 }
Esempio n. 2
0
 internal virtual void SignPeBuilder(ExtendedPEBuilder peBuilder, BlobBuilder peBlob, RSAParameters privkey)
 {
     throw new NotSupportedException();
 }
Esempio n. 3
0
 internal override void SignBuilder(ExtendedPEBuilder peBuilder, BlobBuilder peBlob, RSAParameters privateKey) => SignBuilderFunc(peBuilder, peBlob, privateKey);
Esempio n. 4
0
 /// <summary>
 /// Signs the contents of <paramref name="peBlob"/> using <paramref name="peBuilder"/> and <paramref name="privateKey"/>.
 /// </summary>
 internal abstract void SignBuilder(ExtendedPEBuilder peBuilder, BlobBuilder peBlob, RSAParameters privateKey);