apr_crypto_secret_t Struct Reference

#include <apr_crypto.h>

Data Fields

const unsigned char * secret
apr_size_t secretLen

Detailed Description

Structure describing a raw key to be passed by the apr_crypto_key() function.

Raw keys are used for encryption and decryption, and must match the correct sizes for each cipher.

Implementations must use apr_crypto_key_rec_make() to allocate this structure.

Field Documentation

const unsigned char* apr_crypto_secret_t::secret

The raw secret key used for encrypt / decrypt. Must be the same size as the block size of the cipher being used.

apr_size_t apr_crypto_secret_t::secretLen

The length of the secret key.

The documentation for this struct was generated from the following file: