SmartFTP FTP Library
ICryptoHash Interface Reference

import "sfFTPLib.idl";

Public Member Functions

HRESULT Initialize (HashAlgo hashtype)
HRESULT ReInitialize ()
HRESULT GetSize ([out, retval] long *retval)
HRESULT AddBSTR ([in] BSTR bstr)
HRESULT AddBlob ([in, size_is(cbBlob)] const byte *pbBlob, UINT cbBlob)
HRESULT AddFile ([in] VARIANT var)
HRESULT AddStream ([in] IStream *stream, [in] ULONGLONG length, [in] IHashProgress *progress)
HRESULT GetValue ([out, retval] VARIANT *retval)
HRESULT CompareStringValue ([in] BSTR value1, [in] BSTR value2, [out, retval] long *retval)
HRESULT GetValueAsString ([out, retval] BSTR *retval)
HRESULT GetValueEx ([out, size_is(*valueLength)] byte *value, [in, out] ULONG *valueLength)

Properties

HashAlgo Type [get]

Member Function Documentation

◆ AddBlob()

HRESULT ICryptoHash::AddBlob ( [in, size_is(cbBlob)] const byte * pbBlob,
UINT cbBlob )

◆ AddBSTR()

HRESULT ICryptoHash::AddBSTR ( [in] BSTR bstr)

◆ AddFile()

HRESULT ICryptoHash::AddFile ( [in] VARIANT var)

◆ AddStream()

HRESULT ICryptoHash::AddStream ( [in] IStream * stream,
[in] ULONGLONG length,
[in] IHashProgress * progress )

◆ CompareStringValue()

HRESULT ICryptoHash::CompareStringValue ( [in] BSTR value1,
[in] BSTR value2,
[out, retval] long * retval )

◆ GetSize()

HRESULT ICryptoHash::GetSize ( [out, retval] long * retval)

◆ GetValue()

HRESULT ICryptoHash::GetValue ( [out, retval] VARIANT * retval)

◆ GetValueAsString()

HRESULT ICryptoHash::GetValueAsString ( [out, retval] BSTR * retval)

◆ GetValueEx()

HRESULT ICryptoHash::GetValueEx ( [out, size_is(*valueLength)] byte * value,
[in, out] ULONG * valueLength )

◆ Initialize()

HRESULT ICryptoHash::Initialize ( HashAlgo hashtype)

◆ ReInitialize()

HRESULT ICryptoHash::ReInitialize ( )

Property Documentation

◆ Type

HashAlgo ICryptoHash::Type
getproperty

The documentation for this interface was generated from the following file: