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_ECDSA_SHA224
  223. | CKM_ECDSA_SHA256
  224. | CKM_ECDSA_SHA384
  225. | CKM_ECDSA_SHA512
  226. | CKM_ECDH1_DERIVE
  227. | CKM_ECDH1_COFACTOR_DERIVE
  228. | CKM_ECMQV_DERIVE
  229. | CKM_JUNIPER_KEY_GEN
  230. | CKM_JUNIPER_ECB128
  231. | CKM_JUNIPER_CBC128
  232. | CKM_JUNIPER_COUNTER
  233. | CKM_JUNIPER_SHUFFLE
  234. | CKM_JUNIPER_WRAP
  235. | CKM_FASTHASH
  236. | CKM_AES_KEY_GEN
  237. | CKM_AES_ECB
  238. | CKM_AES_CBC
  239. | CKM_AES_MAC
  240. | CKM_AES_MAC_GENERAL
  241. | CKM_AES_CBC_PAD
  242. | CKM_AES_CTR
  243. | CKM_AES_GCM
  244. | CKM_BLOWFISH_KEY_GEN
  245. | CKM_BLOWFISH_CBC
  246. | CKM_TWOFISH_KEY_GEN
  247. | CKM_TWOFISH_CBC
  248. | CKM_DES_ECB_ENCRYPT_DATA
  249. | CKM_DES_CBC_ENCRYPT_DATA
  250. | CKM_DES3_ECB_ENCRYPT_DATA
  251. | CKM_DES3_CBC_ENCRYPT_DATA
  252. | CKM_AES_ECB_ENCRYPT_DATA
  253. | CKM_AES_CBC_ENCRYPT_DATA
  254. | CKM_DSA_PARAMETER_GEN
  255. | CKM_DH_PKCS_PARAMETER_GEN
  256. | CKM_X9_42_DH_PARAMETER_GEN
  257. | CKM_GOSTR3410_KEY_PAIR_GEN
  258. | CKM_GOSTR3410
  259. | CKM_GOSTR3410_WITH_GOSTR3411
  260. | CKM_GOSTR3411
  261. | CKM_GOSTR3411_HMAC
  262. | CKM_AES_KEY_WRAP
  263. | CKM_AES_CCM
  264. | CKM_AES_CFB1
  265. | CKM_AES_CFB128
  266. | CKM_AES_CFB64
  267. | CKM_AES_CFB8
  268. | CKM_AES_CMAC
  269. | CKM_AES_CMAC_GENERAL
  270. | CKM_AES_CTS
  271. | CKM_AES_GMAC
  272. | CKM_AES_KEY_WRAP_PAD
  273. | CKM_AES_OFB
  274. | CKM_AES_XCBC_MAC
  275. | CKM_AES_XCBC_MAC_96
  276. | CKM_BLOWFISH_CBC_PAD
  277. | CKM_DES3_CMAC
  278. | CKM_DES3_CMAC_GENERAL
  279. | CKM_DSA_PROBABLISTIC_PARAMETER_GEN
  280. | CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN
  281. | CKM_ECDH_AES_KEY_WRAP
  282. | CKM_GOST28147
  283. | CKM_GOST28147_ECB
  284. | CKM_GOST28147_KEY_GEN
  285. | CKM_GOST28147_KEY_WRAP
  286. | CKM_GOST28147_MAC
  287. | CKM_GOSTR3410_DERIVE
  288. | CKM_GOSTR3410_KEY_WRAP
  289. | CKM_KEA_DERIVE
  290. | CKM_RSA_AES_KEY_WRAP
  291. | CKM_RSA_PKCS_OAEP_TPM_1_1
  292. | CKM_RSA_PKCS_TPM_1_1
  293. | CKM_SEED_CBC
  294. | CKM_SEED_CBC_ENCRYPT_DATA
  295. | CKM_SEED_CBC_PAD
  296. | CKM_SEED_ECB
  297. | CKM_SEED_ECB_ENCRYPT_DATA
  298. | CKM_SEED_KEY_GEN
  299. | CKM_SEED_MAC
  300. | CKM_SEED_MAC_GENERAL
  301. | CKM_SHA512_224
  302. | CKM_SHA512_224_HMAC
  303. | CKM_SHA512_224_HMAC_GENERAL
  304. | CKM_SHA512_224_KEY_DERIVATION
  305. | CKM_SHA512_256
  306. | CKM_SHA512_256_HMAC
  307. | CKM_SHA512_256_HMAC_GENERAL
  308. | CKM_SHA512_256_KEY_DERIVATION
  309. | CKM_SHA512_T
  310. | CKM_SHA512_T_HMAC
  311. | CKM_SHA512_T_HMAC_GENERAL
  312. | CKM_SHA512_T_KEY_DERIVATION
  313. | CKM_TLS10_MAC_CLIENT
  314. | CKM_TLS10_MAC_SERVER
  315. | CKM_TLS12_KDF
  316. | CKM_TLS12_KEY_AND_MAC_DERIVE
  317. | CKM_TLS12_KEY_SAFE_DERIVE
  318. | CKM_TLS12_MAC
  319. | CKM_TLS12_MASTER_KEY_DERIVE
  320. | CKM_TLS12_MASTER_KEY_DERIVE_DH
  321. | CKM_TLS_KDF
  322. | CKM_TLS_MAC
  323. | CKM_TWOFISH_CBC_PAD
  324. | CKM_VENDOR_DEFINED
  325. | 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.