• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Searching...
    Or go to: Standard Library API
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • pkcs11

  • Documentation
  • pkcs11 lib
  • P11_key_attributes Module
package pkcs11
  • pkcs11
    • P11
    • P11_aes_cbc_encrypt_data_params
    • P11_attribute
    • P11_attribute_type
      • Encoding
    • P11_attribute_types
    • P11_bigint
    • P11_des_cbc_encrypt_data_params
    • P11_ec_kdf
    • P11_ecdh1_derive_params
    • P11_ecmqv_derive_params
    • P11_flags
    • P11_hex_data
    • P11_hw_feature_type
    • P11_info
    • P11_key_attributes
    • P11_key_gen_mechanism
    • P11_key_type
    • P11_mechanism
    • P11_mechanism_info
    • P11_mechanism_type
    • P11_object_class
    • P11_object_handle
    • P11_pkcs5_pbkd2_data_params
    • P11_pkcs5_pbkd2_pseudo_random_function_type
    • P11_pkcs5_pbkdf2_salt_source_type
    • P11_rsa_pkcs_mgf_type
    • P11_rsa_pkcs_oaep_params
    • P11_rsa_pkcs_pss_params
    • P11_rv
    • P11_session_handle
    • P11_session_info
    • P11_slot
    • P11_slot_id
    • P11_slot_info
    • P11_template
    • P11_token_info
    • P11_ulong
    • P11_user_type
    • P11_version
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Manual
  • Standard Library API
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct