package pkcs11

  1. Overview
  2. Docs

Information about key types

type kind = [
  1. | `AES
  2. | `DES
  3. | `DES3
  4. | `EC_private
  5. | `EC_public
  6. | `RSA_private
  7. | `RSA_public
  8. | `Secret
]

The type of kinds that applies to a given object.

val possible : kind -> P11.Attribute_types.t

Return all the possible attributes for a given kind, if the kind is a high level kind (Secret for example), it is possible that some other attribute can be given but not necessarily to all of the object of this kind.