Botan

Enumerations

License
Botan is released under the Simplified BSD License (see LICENSE.md)

enum  KeyConstraints: int;

X.509v3 Key Constraints.


KeyConstraints  findConstraints(in PublicKey pub_key, KeyConstraints limits);

Create the key constraints for a specific public key.

Parameters
PublicKey pub_key the public key from which the basic set of constraints to be placed in the return value is derived
KeyConstraints limits additional limits that will be incorporated into the return value
Returns
combination of key type specific constraints and additional limits