package pkcs11

  1. Overview
  2. Docs
Bindings to the PKCS#11 cryptographic API

Install

dune-project
 Dependency

Authors

Maintainers

Sources

pkcs11-0.15.0.tbz
sha256=f387e30247f7d82261b102be22816adc1895b5d4665a59c7d994984280e89f60
md5=035076817a2894d16b2957714f41d75e

doc/pkcs11/P11_key_attributes/index.html

Module P11_key_attributes

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. | `DSA_private
  9. | `DSA_public
  10. | `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.