assh/assh_sign.h header reference

Description [link] 

This header file contains API descriptors for signature algorithm modules implemented in the library.

See also Authentication algorithms and Core and modules.

Members [link] 

Type [link] 

Functions [link] 

  • const struct assh_algo_sign_s * assh_algo_sign(const struct assh_algo_s *algo)
  • assh_status_t assh_algo_sign_by_key(struct assh_context_s *c, const struct assh_key_s *key, assh_algo_id_t *pos, const struct assh_algo_sign_s **sa)
  • assh_status_t assh_algo_sign_by_name(struct assh_context_s *c, const char *name, size_t name_len, const struct assh_algo_sign_s **sa, const struct assh_algo_name_s **namep)
  • assh_status_t assh_algo_sign_by_name_static(const struct assh_algo_s **table, const char *name, size_t name_len, const struct assh_algo_sign_s **sa, const struct assh_algo_name_s **namep)

Constant [link] 

Members detail [link] 

const struct assh_algo_sign_s * assh_algo_sign(const struct assh_algo_s *algo) [link] 

This function is declared in assh/assh_sign.h source file, line 115.

This function casts and returns the passed pointer if the algorithm class is ASSH_ALGO_SIGN. In other cases, NULL is returned.

assh_status_t assh_algo_sign_by_key(struct assh_context_s *c, const struct assh_key_s *key, assh_algo_id_t *pos, const struct assh_algo_sign_s **sa) [link] 

This function is declared in assh/assh_sign.h source file, line 150.

This function finds a registered signature algorithm which can be used with the given key.

See also assh_algo_by_key.

assh_status_t assh_algo_sign_by_name(struct assh_context_s *c, const char *name, size_t name_len, const struct assh_algo_sign_s **sa, const struct assh_algo_name_s **namep) [link] 

This function is declared in assh/assh_sign.h source file, line 140.

This function finds a registered signature algorithm.

See also assh_algo_by_name.

assh_status_t assh_algo_sign_by_name_static(const struct assh_algo_s **table, const char *name, size_t name_len, const struct assh_algo_sign_s **sa, const struct assh_algo_name_s **namep) [link] 

This function is declared in assh/assh_sign.h source file, line 129.

This function finds a signature algorithm in a NULL terminated array of pointers to algorithm descriptors.

See also assh_algo_by_name_static.

struct assh_algo_sign_s [link] 

This struct is declared in assh/assh_sign.h source file, line 69.

This struct is the signature algorithm descriptor structure. It can be casted to the struct assh_algo_s type.

See also Core and modules.

const struct assh_algo_sign_s assh_sign_none [link] 

This constant is declared in assh/assh_sign.h source file, line 153.

Dummy signature algorithm

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Oct 25 23:30:45 2020 using MkDoc