result.h File Reference

#include <isc/lang.h>
#include <isc/resultclass.h>
#include <isc/result.h>

Go to the source code of this file.

Defines

#define DST_RESULT_H   1
#define DST_R_UNSUPPORTEDALG   (ISC_RESULTCLASS_DST + 0)
#define DST_R_CRYPTOFAILURE   (ISC_RESULTCLASS_DST + 1)
#define DST_R_OPENSSLFAILURE   DST_R_CRYPTOFAILURE
#define DST_R_NOCRYPTO   (ISC_RESULTCLASS_DST + 2)
#define DST_R_NULLKEY   (ISC_RESULTCLASS_DST + 3)
#define DST_R_INVALIDPUBLICKEY   (ISC_RESULTCLASS_DST + 4)
#define DST_R_INVALIDPRIVATEKEY   (ISC_RESULTCLASS_DST + 5)
#define DST_R_WRITEERROR   (ISC_RESULTCLASS_DST + 7)
#define DST_R_INVALIDPARAM   (ISC_RESULTCLASS_DST + 8)
#define DST_R_SIGNFAILURE   (ISC_RESULTCLASS_DST + 11)
#define DST_R_VERIFYFAILURE   (ISC_RESULTCLASS_DST + 14)
#define DST_R_NOTPUBLICKEY   (ISC_RESULTCLASS_DST + 15)
#define DST_R_NOTPRIVATEKEY   (ISC_RESULTCLASS_DST + 16)
#define DST_R_KEYCANNOTCOMPUTESECRET   (ISC_RESULTCLASS_DST + 17)
#define DST_R_COMPUTESECRETFAILURE   (ISC_RESULTCLASS_DST + 18)
#define DST_R_NORANDOMNESS   (ISC_RESULTCLASS_DST + 19)
#define DST_R_BADKEYTYPE   (ISC_RESULTCLASS_DST + 20)
#define DST_R_NOENGINE   (ISC_RESULTCLASS_DST + 21)
#define DST_R_EXTERNALKEY   (ISC_RESULTCLASS_DST + 22)
#define DST_R_NRESULTS   23

Functions

ISC_LANG_BEGINDECLS const char * dst_result_totext (isc_result_t)
void dst_result_register (void)


Detailed Description

Definition in file result.h.


Define Documentation

#define DST_RESULT_H   1

Definition at line 21 of file result.h.

#define DST_R_UNSUPPORTEDALG   (ISC_RESULTCLASS_DST + 0)

Definition at line 36 of file result.h.

Referenced by algorithm_status(), check_data(), dst_context_create4(), dst_key_fromlabel(), dst_key_fromnamedfile(), dst_key_generate2(), dst_key_privatefrombuffer(), dst_key_restore(), dst_key_secretsize(), dst_key_sigsize(), dst_key_tobuffer(), dst_key_todns(), dst_key_tofile(), dstkey_fromconfig(), frombuffer(), load_view_keys(), and setup_text_key().

#define DST_R_CRYPTOFAILURE   (ISC_RESULTCLASS_DST + 1)

Definition at line 37 of file result.h.

Referenced by free_session_list(), pk11_rand_bytes(), and setup_session().

#define DST_R_OPENSSLFAILURE   DST_R_CRYPTOFAILURE

Definition at line 39 of file result.h.

#define DST_R_NOCRYPTO   (ISC_RESULTCLASS_DST + 2)

Definition at line 40 of file result.h.

Referenced by algorithm_status(), dstkey_fromconfig(), and load_view_keys().

#define DST_R_NULLKEY   (ISC_RESULTCLASS_DST + 3)

Definition at line 41 of file result.h.

Referenced by dst_context_create4(), dst_context_sign(), dst_context_verify(), dst_context_verify2(), dst_key_computesecret(), hmacmd5_tofile(), hmacsha1_tofile(), hmacsha224_tofile(), hmacsha256_tofile(), hmacsha384_tofile(), and hmacsha512_tofile().

#define DST_R_INVALIDPUBLICKEY   (ISC_RESULTCLASS_DST + 4)

Definition at line 42 of file result.h.

Referenced by dst_key_fromdns(), and write_public_key().

#define DST_R_INVALIDPRIVATEKEY   (ISC_RESULTCLASS_DST + 5)

Definition at line 43 of file result.h.

Referenced by dst__privstruct_parse(), dst__privstruct_writefile(), dst_key_fromfile(), dst_key_fromnamedfile(), getkeybits(), hmacmd5_parse(), hmacsha1_parse(), hmacsha224_parse(), hmacsha256_parse(), hmacsha384_parse(), and hmacsha512_parse().

#define DST_R_WRITEERROR   (ISC_RESULTCLASS_DST + 7)

Definition at line 45 of file result.h.

Referenced by dst__privstruct_writefile(), and write_public_key().

#define DST_R_INVALIDPARAM   (ISC_RESULTCLASS_DST + 8)

Definition at line 46 of file result.h.

#define DST_R_SIGNFAILURE   (ISC_RESULTCLASS_DST + 11)

Definition at line 49 of file result.h.

#define DST_R_VERIFYFAILURE   (ISC_RESULTCLASS_DST + 14)

Definition at line 52 of file result.h.

Referenced by dns_dnssec_verify3(), dns_tsig_verify(), hmacmd5_verify(), hmacsha1_verify(), hmacsha224_verify(), hmacsha256_verify(), hmacsha384_verify(), hmacsha512_verify(), and tsig_verify_tcp().

#define DST_R_NOTPUBLICKEY   (ISC_RESULTCLASS_DST + 15)

Definition at line 53 of file result.h.

Referenced by dst_context_verify(), and dst_context_verify2().

#define DST_R_NOTPRIVATEKEY   (ISC_RESULTCLASS_DST + 16)

Definition at line 54 of file result.h.

Referenced by dst_context_sign(), and dst_key_computesecret().

#define DST_R_KEYCANNOTCOMPUTESECRET   (ISC_RESULTCLASS_DST + 17)

Definition at line 55 of file result.h.

Referenced by dst_key_computesecret().

#define DST_R_COMPUTESECRETFAILURE   (ISC_RESULTCLASS_DST + 18)

Definition at line 56 of file result.h.

#define DST_R_NORANDOMNESS   (ISC_RESULTCLASS_DST + 19)

Definition at line 57 of file result.h.

#define DST_R_BADKEYTYPE   (ISC_RESULTCLASS_DST + 20)

Definition at line 58 of file result.h.

Referenced by dst_key_read_public().

#define DST_R_NOENGINE   (ISC_RESULTCLASS_DST + 21)

Definition at line 59 of file result.h.

#define DST_R_EXTERNALKEY   (ISC_RESULTCLASS_DST + 22)

Definition at line 60 of file result.h.

Referenced by hmacmd5_parse(), hmacmd5_tofile(), hmacsha1_parse(), hmacsha1_tofile(), hmacsha224_parse(), hmacsha224_tofile(), hmacsha256_parse(), hmacsha256_tofile(), hmacsha384_parse(), hmacsha384_tofile(), hmacsha512_parse(), and hmacsha512_tofile().

#define DST_R_NRESULTS   23

Definition at line 62 of file result.h.

Referenced by initialize_action().


Function Documentation

ISC_LANG_BEGINDECLS const char* dst_result_totext ( isc_result_t   ) 

Definition at line 79 of file dst_result.c.

References initialize(), and isc_result_totext().

void dst_result_register ( void   ) 

Definition at line 86 of file dst_result.c.

References initialize().

Referenced by dst_lib_init2(), and main().


Generated on Tue Apr 28 17:41:16 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha