CryptoSys PKI Pro Manual

AUTACK messages and ISO/IEC 9796-1 signatures

Specialist options have been added [version 3.3] to enable users to create digital signatures suitable for use in an AUTACK message (see references [SIEM99] and [EDIFACT]). This method uses a modified version of RSA (RSA2 in P1363 parlance) together with ISO 9796-1 formatting.

To create such a digital signature, the user must carry out the following operations in sequence:

  1. Create the message digest hash of the message to be signed using HASH_Bytes() function.
  2. Encode (encapsulate) this message digest in ISO 9796-1 format using RSA_EncodeMsg().
  3. Sign, i.e. encrypt with the private RSA key, using RSA_RawPrivate().

Specific changes to enable this:

The method used in ISO 9796-1 has been shown to be insecure for signing plain text messages, i.e. signatures can be forged. However, it is still considered to be secure when used to encode a message digest, as done in the Autack method.

For full sample code that shows how to sign and verify a message using Autack, see our Autack page.

There are two steps:

  1. Encode (pad) the message into a block the same size as the key: ISO/IEC 9796-1 Formatting.
  2. Sign (encrypt) the block using RSA in a particular manner: RSA2 Signing.
[PREV: Specifying the signature algorithm in a SIG_ function...]   [Contents]   [Index]   
   [NEXT: ISO/IEC 9796-1 Formatting...]

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