Exemple #1
0
        protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
        {
            // we're sealed and the base should have checked this already
            Debug.Assert(data != null);
            Debug.Assert(offset >= 0 && offset <= data.Length);
            Debug.Assert(count >= 0 && count <= data.Length);
            Debug.Assert(!string.IsNullOrEmpty(hashAlgorithm.Name));

            return(OpenSslAsymmetricAlgorithmCore.HashData(data, offset, count, hashAlgorithm));
        }
Exemple #2
0
 protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm)
 {
     return(OpenSslAsymmetricAlgorithmCore.HashData(data, hashAlgorithm));
 }
Exemple #3
0
 protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
 {
     return(OpenSslAsymmetricAlgorithmCore.HashData(data, offset, count, hashAlgorithm));
 }