iTextSharp.text.pdf.security.MakeXmlSignature.CalculateC14nDigest C# (CSharp) Method

CalculateC14nDigest() private static method

private static CalculateC14nDigest ( XmlDocument doc, Org.BouncyCastle.Crypto.Tls.HashAlgorithm hash ) : byte[]
doc XmlDocument
hash Org.BouncyCastle.Crypto.Tls.HashAlgorithm
return byte[]
        private static byte[] CalculateC14nDigest(XmlDocument doc, HashAlgorithm hash) {
            return hash.ComputeHash(CalculateC14nByteRange(doc));
        }