SmartFTP FTP Library
IBCryptKey Interface Reference

import "sfFTPLib.idl";

Public Member Functions

HRESULT Initialize ([in] LPCWSTR algorithmName)
HRESULT InitializeEx ([in] LPCWSTR algorithmName, [in] LPCWSTR curveName)
HRESULT Generate ([in] long bits)
Public Member Functions inherited from IKey
HRESULT ImportBlob ([in] LPCWSTR pszBlobType, [in, size_is(cbInput)] byte *pbInput, [in] ULONG cbInput)
 Loads a key or certificate from a memory buffer.
HRESULT Verify ([in] HashAlgo hashAlgo, [in, size_is(cbSignature)] byte *pbSignature, [in] ULONG cbSignature, [in, size_is(cbInput)] byte *pbInput, [in] ULONG cbInput, [in] ULONG flags)
 Verifies a digital signature against a data blob.
HRESULT ExportKey ([in] LPCWSTR pszBlobType, [out, size_is(*pcbData)] byte *pbData, [in, out] ULONG *pcbData)
 Serializes the key to a memory buffer.
HRESULT Sign ([in] HashAlgo hashAlgo, [in, size_is(cbInput)] byte *pbInput, [in] ULONG cbInput, [out, size_is(*pcbSignature)] byte *pbSignature, [in, out] ULONG *pcbSignature, [in] ULONG flags)
 Generates a digital signature for a data blob.
HRESULT SetProperty ([in] LPCWSTR pszProperty, [in, size_is(cbInput)] byte *pbInput, [in] ULONG cbInput, [in] ULONG dwFlags)
 Sets advanced or algorithm-specific properties.

Additional Inherited Members

Properties inherited from IKey
KeyType Type [get]
 Retrieves the classification of the key (e.g., Private, Public, or None).
long Bits [get]
 Retrieves the strength of the key in bits.
KeyAlgo Algo [get]
 Identifies the cryptographic algorithm used by this key.
VARIANT Certificate [get]
 Retrieves the raw certificate data associated with this key, if any.
CertificateType CertificateType [get]
 Indicates the format of the attached certificate.

Member Function Documentation

◆ Generate()

HRESULT IBCryptKey::Generate ( [in] long bits)

◆ Initialize()

HRESULT IBCryptKey::Initialize ( [in] LPCWSTR algorithmName)

◆ InitializeEx()

HRESULT IBCryptKey::InitializeEx ( [in] LPCWSTR algorithmName,
[in] LPCWSTR curveName )

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