CryptoSys API Library Manual

GCM_FinishKey

Closes the GCM context and destroys the key.

VBA/VB6 Syntax

Public Declare Function GCM_FinishKey Lib "diCryptoSys.dll" (ByVal hContext As Long) As Long

nRet = GCM_FinishKey(hContext)

C/C++ Syntax

long __stdcall GCM_FinishKey(long hContext);

Parameters

hContext
[in] containing the handle to the GCM context.

Returns (VBA/C)

If successful, the return value is 0; otherwise it returns a non-zero error code.

.NET Equivalent

Gcm.Dispose Method

Remarks

Example

See the examples in GCM_InitKey and GCM_NextEncrypt.

See Also

GCM_InitKey GCM_NextEncrypt GCM_NextDecrypt

[Contents] [Index]

[PREV: GCM_Encrypt...]   [Contents]   [Index]   
   [NEXT: GCM_InitKey...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.