CryptoSys PKI Toolkit Manual

Cautions for C/C++ Users

We recommend using the defined constants like PKI_MAX_SHA1_CHARS and PKI_MAX_SHA1_BYTES rather than hard-coded numbers, e.g.

char sDigest_sha1[PKI_MAX_SHA1_CHARS + 1]; 

See the constants in diCrPKI.h.

[HOME]   [NEXT: Examples of C code...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.