CryptoSys PKI Pro Manual

cipherKeyWrap

Wraps (encrypts) key material with a key-encryption key.

Syntax

[VBA]
Public Function cipherKeyWrap ( _
    lpData() As Byte, _
    lpKEK() As Byte, _
    nOptions As Long _
) As Byte()

Parameters

lpData
Key material to be wrapped.
lpKEK
Key encryption key.
nOptions
Algorithm to be used. Select one from:
PKI_BC_AES128
PKI_BC_AES192
PKI_BC_AES256
PKI_BC_3DES

Return Value

Byte(): Wrapped key (or empty array on error).
[PREV: cipherKeyUnwrap...]   [Contents]   [Index]   
   [NEXT: cmsGetSigDataDigest...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.