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