CryptoSys API Library Manual

GCM_FinishKey

GCM_FinishKey closes the GCM context and destroys the key.

VB6/VBA Syntax

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

nRet = GCM_FinishKey(hContext)

Parameters

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

C/C++ Syntax

long _stdcall GCM_FinishKey(long hContext);

Returns (VB6/C)

Long: 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]

[HOME]   [NEXT: GCM_InitKey...]

Copyright © 2001-9 D.I. Management Services Pty Ltd. All rights reserved.