qcrypto_signature_args_t

QNX SDP8.0QNX OS System Security GuideAPIConfiguration

Signature arguments

Synopsis:

#include <qcrypto/qcrypto.h>
typedef struct {
    qcrypto_signature_mode_t       mode;
    union {
        struct {
            qcrypto_rsa_pad_mode_t pad_mode;
            size_t                 saltsize;
        } rsa;
        void*                      private;
    };
} qcrypto_signature_args_t;

Data:

qcrypto_signature_mode_t mode

The signature operation type.

qcrypto_rsa_pad_mode_t pad_mode

The padding mode.

size_t saltsize

The PSS salt size.

void* private

Private arguments to pass for other signature algorithms.

Library:

libqcrypto

Description:

Some signature modes require additional arguments as input to configure the algorithm. The private field can be used for custom plugins that implement custom algorithms that the QNX cryptography library API does not support.

For more information, see qcrypto_signature_init().

Page updated: