PKCS11H_PRIVATEMODE_MASK
pkcs11-helper core interface

Signature mask selection. . More...

## Macros

#define | PKCS11H_PRIVATEMODE_MASK_AUTO (0)
#define | PKCS11H_PRIVATEMODE_MASK_SIGN (1<<0)
#define | PKCS11H_PRIVATEMODE_MASK_RECOVER (1<<1)
#define | PKCS11H_PRIVATEMODE_MASK_DECRYPT (1<<2)
#define | PKCS11H_PRIVATEMODE_MASK_UNWRAP (1<<3)

## Detailed Description

Signature mask selection. .

## Macro Definition Documentation

## PKCS11H_PRIVATEMODE_MASK_AUTO

#define PKCS11H_PRIVATEMODE_MASK_AUTO (0)

Auto select by private key attributes.

Examples
  test-certificate.c, and test-slotevent.c.

## PKCS11H_PRIVATEMODE_MASK_DECRYPT

#define PKCS11H_PRIVATEMODE_MASK_DECRYPT (1<<2)

Force decrypt.

Examples
  test-basic.c.

## PKCS11H_PRIVATEMODE_MASK_RECOVER

#define PKCS11H_PRIVATEMODE_MASK_RECOVER (1<<1)

Force recover.

## PKCS11H_PRIVATEMODE_MASK_SIGN

#define PKCS11H_PRIVATEMODE_MASK_SIGN (1<<0)

Force signature.

## PKCS11H_PRIVATEMODE_MASK_UNWRAP

#define PKCS11H_PRIVATEMODE_MASK_UNWRAP (1<<3)

Force unwrap.

pkcs11-helper, Copyright (C) Alon Bar-Lev <alon.barlev@gmail.com> |