package pkcs11

  1. Overview
  2. Docs
type t =
  1. | CKM_RSA_PKCS_KEY_PAIR_GEN
  2. | CKM_RSA_PKCS
  3. | CKM_RSA_9796
  4. | CKM_RSA_X_509
  5. | CKM_MD2_RSA_PKCS
  6. | CKM_MD5_RSA_PKCS
  7. | CKM_SHA1_RSA_PKCS
  8. | CKM_RIPEMD128_RSA_PKCS
  9. | CKM_RIPEMD160_RSA_PKCS
  10. | CKM_RSA_PKCS_OAEP
  11. | CKM_RSA_X9_31_KEY_PAIR_GEN
  12. | CKM_RSA_X9_31
  13. | CKM_SHA1_RSA_X9_31
  14. | CKM_RSA_PKCS_PSS
  15. | CKM_SHA1_RSA_PKCS_PSS
  16. | CKM_DSA_KEY_PAIR_GEN
  17. | CKM_DSA
  18. | CKM_DSA_SHA1
  19. | CKM_DSA_SHA224
  20. | CKM_DSA_SHA256
  21. | CKM_DSA_SHA384
  22. | CKM_DSA_SHA512
  23. | CKM_DH_PKCS_KEY_PAIR_GEN
  24. | CKM_DH_PKCS_DERIVE
  25. | CKM_X9_42_DH_KEY_PAIR_GEN
  26. | CKM_X9_42_DH_DERIVE
  27. | CKM_X9_42_DH_HYBRID_DERIVE
  28. | CKM_X9_42_MQV_DERIVE
  29. | CKM_SHA256_RSA_PKCS
  30. | CKM_SHA384_RSA_PKCS
  31. | CKM_SHA512_RSA_PKCS
  32. | CKM_SHA256_RSA_PKCS_PSS
  33. | CKM_SHA384_RSA_PKCS_PSS
  34. | CKM_SHA512_RSA_PKCS_PSS
  35. | CKM_SHA224_RSA_PKCS
  36. | CKM_SHA224_RSA_PKCS_PSS
  37. | CKM_RC2_KEY_GEN
  38. | CKM_RC2_ECB
  39. | CKM_RC2_CBC
  40. | CKM_RC2_MAC
  41. | CKM_RC2_MAC_GENERAL
  42. | CKM_RC2_CBC_PAD
  43. | CKM_RC4_KEY_GEN
  44. | CKM_RC4
  45. | CKM_DES_KEY_GEN
  46. | CKM_DES_ECB
  47. | CKM_DES_CBC
  48. | CKM_DES_MAC
  49. | CKM_DES_MAC_GENERAL
  50. | CKM_DES_CBC_PAD
  51. | CKM_DES2_KEY_GEN
  52. | CKM_DES3_KEY_GEN
  53. | CKM_DES3_ECB
  54. | CKM_DES3_CBC
  55. | CKM_DES3_MAC
  56. | CKM_DES3_MAC_GENERAL
  57. | CKM_DES3_CBC_PAD
  58. | CKM_CDMF_KEY_GEN
  59. | CKM_CDMF_ECB
  60. | CKM_CDMF_CBC
  61. | CKM_CDMF_MAC
  62. | CKM_CDMF_MAC_GENERAL
  63. | CKM_CDMF_CBC_PAD
  64. | CKM_DES_OFB64
  65. | CKM_DES_OFB8
  66. | CKM_DES_CFB64
  67. | CKM_DES_CFB8
  68. | CKM_MD2
  69. | CKM_MD2_HMAC
  70. | CKM_MD2_HMAC_GENERAL
  71. | CKM_MD5
  72. | CKM_MD5_HMAC
  73. | CKM_MD5_HMAC_GENERAL
  74. | CKM_SHA_1
  75. | CKM_SHA_1_HMAC
  76. | CKM_SHA_1_HMAC_GENERAL
  77. | CKM_RIPEMD128
  78. | CKM_RIPEMD128_HMAC
  79. | CKM_RIPEMD128_HMAC_GENERAL
  80. | CKM_RIPEMD160
  81. | CKM_RIPEMD160_HMAC
  82. | CKM_RIPEMD160_HMAC_GENERAL
  83. | CKM_SHA256
  84. | CKM_SHA256_HMAC
  85. | CKM_SHA256_HMAC_GENERAL
  86. | CKM_SHA224
  87. | CKM_SHA224_HMAC
  88. | CKM_SHA224_HMAC_GENERAL
  89. | CKM_SHA384
  90. | CKM_SHA384_HMAC
  91. | CKM_SHA384_HMAC_GENERAL
  92. | CKM_SHA512
  93. | CKM_SHA512_HMAC
  94. | CKM_SHA512_HMAC_GENERAL
  95. | CKM_SECURID_KEY_GEN
  96. | CKM_SECURID
  97. | CKM_HOTP_KEY_GEN
  98. | CKM_HOTP
  99. | CKM_ACTI
  100. | CKM_ACTI_KEY_GEN
  101. | CKM_CAST_KEY_GEN
  102. | CKM_CAST_ECB
  103. | CKM_CAST_CBC
  104. | CKM_CAST_MAC
  105. | CKM_CAST_MAC_GENERAL
  106. | CKM_CAST_CBC_PAD
  107. | CKM_CAST3_KEY_GEN
  108. | CKM_CAST3_ECB
  109. | CKM_CAST3_CBC
  110. | CKM_CAST3_MAC
  111. | CKM_CAST3_MAC_GENERAL
  112. | CKM_CAST3_CBC_PAD
  113. | CKM_CAST128_KEY_GEN
  114. | CKM_CAST128_ECB
  115. | CKM_CAST128_CBC
  116. | CKM_CAST128_MAC
  117. | CKM_CAST128_MAC_GENERAL
  118. | CKM_CAST128_CBC_PAD
  119. | CKM_RC5_KEY_GEN
  120. | CKM_RC5_ECB
  121. | CKM_RC5_CBC
  122. | CKM_RC5_MAC
  123. | CKM_RC5_MAC_GENERAL
  124. | CKM_RC5_CBC_PAD
  125. | CKM_IDEA_KEY_GEN
  126. | CKM_IDEA_ECB
  127. | CKM_IDEA_CBC
  128. | CKM_IDEA_MAC
  129. | CKM_IDEA_MAC_GENERAL
  130. | CKM_IDEA_CBC_PAD
  131. | CKM_GENERIC_SECRET_KEY_GEN
  132. | CKM_CONCATENATE_BASE_AND_KEY
  133. | CKM_CONCATENATE_BASE_AND_DATA
  134. | CKM_CONCATENATE_DATA_AND_BASE
  135. | CKM_XOR_BASE_AND_DATA
  136. | CKM_EXTRACT_KEY_FROM_KEY
  137. | CKM_SSL3_PRE_MASTER_KEY_GEN
  138. | CKM_SSL3_MASTER_KEY_DERIVE
  139. | CKM_SSL3_KEY_AND_MAC_DERIVE
  140. | CKM_SSL3_MASTER_KEY_DERIVE_DH
  141. | CKM_TLS_PRE_MASTER_KEY_GEN
  142. | CKM_TLS_MASTER_KEY_DERIVE
  143. | CKM_TLS_KEY_AND_MAC_DERIVE
  144. | CKM_TLS_MASTER_KEY_DERIVE_DH
  145. | CKM_TLS_PRF
  146. | CKM_SSL3_MD5_MAC
  147. | CKM_SSL3_SHA1_MAC
  148. | CKM_MD5_KEY_DERIVATION
  149. | CKM_MD2_KEY_DERIVATION
  150. | CKM_SHA1_KEY_DERIVATION
  151. | CKM_SHA256_KEY_DERIVATION
  152. | CKM_SHA384_KEY_DERIVATION
  153. | CKM_SHA512_KEY_DERIVATION
  154. | CKM_SHA224_KEY_DERIVATION
  155. | CKM_PBE_MD2_DES_CBC
  156. | CKM_PBE_MD5_DES_CBC
  157. | CKM_PBE_MD5_CAST_CBC
  158. | CKM_PBE_MD5_CAST3_CBC
  159. | CKM_PBE_MD5_CAST128_CBC
  160. | CKM_PBE_SHA1_CAST128_CBC
  161. | CKM_PBE_SHA1_RC4_128
  162. | CKM_PBE_SHA1_RC4_40
  163. | CKM_PBE_SHA1_DES3_EDE_CBC
  164. | CKM_PBE_SHA1_DES2_EDE_CBC
  165. | CKM_PBE_SHA1_RC2_128_CBC
  166. | CKM_PBE_SHA1_RC2_40_CBC
  167. | CKM_PKCS5_PBKD2
  168. | CKM_PBA_SHA1_WITH_SHA1_HMAC
  169. | CKM_WTLS_PRE_MASTER_KEY_GEN
  170. | CKM_WTLS_MASTER_KEY_DERIVE
  171. | CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC
  172. | CKM_WTLS_PRF
  173. | CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE
  174. | CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE
  175. | CKM_KEY_WRAP_LYNKS
  176. | CKM_KEY_WRAP_SET_OAEP
  177. | CKM_CMS_SIG
  178. | CKM_KIP_DERIVE
  179. | CKM_KIP_WRAP
  180. | CKM_KIP_MAC
  181. | CKM_CAMELLIA_KEY_GEN
  182. | CKM_CAMELLIA_ECB
  183. | CKM_CAMELLIA_CBC
  184. | CKM_CAMELLIA_MAC
  185. | CKM_CAMELLIA_MAC_GENERAL
  186. | CKM_CAMELLIA_CBC_PAD
  187. | CKM_CAMELLIA_ECB_ENCRYPT_DATA
  188. | CKM_CAMELLIA_CBC_ENCRYPT_DATA
  189. | CKM_CAMELLIA_CTR
  190. | CKM_ARIA_KEY_GEN
  191. | CKM_ARIA_ECB
  192. | CKM_ARIA_CBC
  193. | CKM_ARIA_MAC
  194. | CKM_ARIA_MAC_GENERAL
  195. | CKM_ARIA_CBC_PAD
  196. | CKM_ARIA_ECB_ENCRYPT_DATA
  197. | CKM_ARIA_CBC_ENCRYPT_DATA
  198. | CKM_SKIPJACK_KEY_GEN
  199. | CKM_SKIPJACK_ECB64
  200. | CKM_SKIPJACK_CBC64
  201. | CKM_SKIPJACK_OFB64
  202. | CKM_SKIPJACK_CFB64
  203. | CKM_SKIPJACK_CFB32
  204. | CKM_SKIPJACK_CFB16
  205. | CKM_SKIPJACK_CFB8
  206. | CKM_SKIPJACK_WRAP
  207. | CKM_SKIPJACK_PRIVATE_WRAP
  208. | CKM_SKIPJACK_RELAYX
  209. | CKM_KEA_KEY_PAIR_GEN
  210. | CKM_KEA_KEY_DERIVE
  211. | CKM_FORTEZZA_TIMESTAMP
  212. | CKM_BATON_KEY_GEN
  213. | CKM_BATON_ECB128
  214. | CKM_BATON_ECB96
  215. | CKM_BATON_CBC128
  216. | CKM_BATON_COUNTER
  217. | CKM_BATON_SHUFFLE
  218. | CKM_BATON_WRAP
  219. | CKM_EC_KEY_PAIR_GEN
  220. | CKM_ECDSA
  221. | CKM_ECDSA_SHA1
  222. | CKM_ECDH1_DERIVE
  223. | CKM_ECDH1_COFACTOR_DERIVE
  224. | CKM_ECMQV_DERIVE
  225. | CKM_JUNIPER_KEY_GEN
  226. | CKM_JUNIPER_ECB128
  227. | CKM_JUNIPER_CBC128
  228. | CKM_JUNIPER_COUNTER
  229. | CKM_JUNIPER_SHUFFLE
  230. | CKM_JUNIPER_WRAP
  231. | CKM_FASTHASH
  232. | CKM_AES_KEY_GEN
  233. | CKM_AES_ECB
  234. | CKM_AES_CBC
  235. | CKM_AES_MAC
  236. | CKM_AES_MAC_GENERAL
  237. | CKM_AES_CBC_PAD
  238. | CKM_AES_CTR
  239. | CKM_AES_GCM
  240. | CKM_BLOWFISH_KEY_GEN
  241. | CKM_BLOWFISH_CBC
  242. | CKM_TWOFISH_KEY_GEN
  243. | CKM_TWOFISH_CBC
  244. | CKM_DES_ECB_ENCRYPT_DATA
  245. | CKM_DES_CBC_ENCRYPT_DATA
  246. | CKM_DES3_ECB_ENCRYPT_DATA
  247. | CKM_DES3_CBC_ENCRYPT_DATA
  248. | CKM_AES_ECB_ENCRYPT_DATA
  249. | CKM_AES_CBC_ENCRYPT_DATA
  250. | CKM_DSA_PARAMETER_GEN
  251. | CKM_DH_PKCS_PARAMETER_GEN
  252. | CKM_X9_42_DH_PARAMETER_GEN
  253. | CKM_GOSTR3410_KEY_PAIR_GEN
  254. | CKM_GOSTR3410
  255. | CKM_GOSTR3410_WITH_GOSTR3411
  256. | CKM_GOSTR3411
  257. | CKM_GOSTR3411_HMAC
  258. | CKM_AES_KEY_WRAP
  259. | CKM_VENDOR_DEFINED
  260. | CKM_CS_UNKNOWN of P11_ulong.t
val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val to_string : t -> string
val of_string : string -> t
val elements : t list

The list of all the CKM codes defined above, minus the vendor defined one.

OCaml

Innovation. Community. Security.