dst_key Struct Reference

DST Key Structure. More...

#include <dst_internal.h>


Data Fields

unsigned int magic
isc_refcount_t refs
dns_name_tkey_name
 name of the key
unsigned int key_size
 size of the key in bits
unsigned int key_proto
 protocols this key is used for
unsigned int key_alg
 algorithm of the key
isc_uint32_t key_flags
 flags of the public key
isc_uint16_t key_id
 identifier of the key
isc_uint16_t key_rid
 identifier of the key when revoked
isc_uint16_t key_bits
 hmac digest bits
dns_rdataclass_t key_class
 class of the key record
dns_ttl_t key_ttl
 default/initial dnskey ttl
isc_mem_tmctx
 memory context
char * engine
 engine name (HSM)
char * label
 engine label (HSM)
union {
   void *   generic
   gss_ctx_id_t   gssctx
   dst_hmacmd5_key_t *   hmacmd5
   dst_hmacsha1_key_t *   hmacsha1
   dst_hmacsha224_key_t *   hmacsha224
   dst_hmacsha256_key_t *   hmacsha256
   dst_hmacsha384_key_t *   hmacsha384
   dst_hmacsha512_key_t *   hmacsha512
keydata
 pointer to key in crypto pkg fmt
isc_stdtime_t times [DST_MAX_TIMES+1]
 timing metadata
isc_boolean_t timeset [DST_MAX_TIMES+1]
 data set?
isc_stdtime_t nums [DST_MAX_NUMERIC+1]
 numeric metadata
isc_boolean_t numset [DST_MAX_NUMERIC+1]
 data set?
isc_boolean_t inactive
 private key not present as it is inactive
isc_boolean_t external
 external key
int fmt_major
 private key format, major version
int fmt_minor
 private key format, minor version
dst_func_tfunc
 crypto package specific functions
isc_buffer_tkey_tkeytoken
 TKEY token data.


Detailed Description

DST Key Structure.

Definition at line 94 of file dst_internal.h.


Field Documentation

unsigned int dst_key::magic

Definition at line 95 of file dst_internal.h.

isc_refcount_t dst_key::refs

Definition at line 96 of file dst_internal.h.

dns_name_t* dst_key::key_name

name of the key

Definition at line 97 of file dst_internal.h.

unsigned int dst_key::key_size

size of the key in bits

Definition at line 98 of file dst_internal.h.

unsigned int dst_key::key_proto

protocols this key is used for

Definition at line 99 of file dst_internal.h.

unsigned int dst_key::key_alg

algorithm of the key

Definition at line 100 of file dst_internal.h.

isc_uint32_t dst_key::key_flags

flags of the public key

Definition at line 101 of file dst_internal.h.

isc_uint16_t dst_key::key_id

identifier of the key

Definition at line 102 of file dst_internal.h.

isc_uint16_t dst_key::key_rid

identifier of the key when revoked

Definition at line 103 of file dst_internal.h.

isc_uint16_t dst_key::key_bits

hmac digest bits

Definition at line 105 of file dst_internal.h.

dns_rdataclass_t dst_key::key_class

class of the key record

Definition at line 106 of file dst_internal.h.

dns_ttl_t dst_key::key_ttl

default/initial dnskey ttl

Definition at line 107 of file dst_internal.h.

isc_mem_t* dst_key::mctx

memory context

Definition at line 108 of file dst_internal.h.

char* dst_key::engine

engine name (HSM)

Definition at line 109 of file dst_internal.h.

char* dst_key::label

engine label (HSM)

Definition at line 110 of file dst_internal.h.

void* dst_key::generic

Definition at line 112 of file dst_internal.h.

gss_ctx_id_t dst_key::gssctx

Definition at line 113 of file dst_internal.h.

dst_hmacmd5_key_t* dst_key::hmacmd5

Definition at line 124 of file dst_internal.h.

dst_hmacsha1_key_t* dst_key::hmacsha1

Definition at line 125 of file dst_internal.h.

dst_hmacsha224_key_t* dst_key::hmacsha224

Definition at line 126 of file dst_internal.h.

dst_hmacsha256_key_t* dst_key::hmacsha256

Definition at line 127 of file dst_internal.h.

dst_hmacsha384_key_t* dst_key::hmacsha384

Definition at line 128 of file dst_internal.h.

dst_hmacsha512_key_t* dst_key::hmacsha512

Definition at line 129 of file dst_internal.h.

union { ... } dst_key::keydata

pointer to key in crypto pkg fmt

isc_stdtime_t dst_key::times[DST_MAX_TIMES+1]

timing metadata

Definition at line 133 of file dst_internal.h.

isc_boolean_t dst_key::timeset[DST_MAX_TIMES+1]

data set?

Definition at line 134 of file dst_internal.h.

isc_stdtime_t dst_key::nums[DST_MAX_NUMERIC+1]

numeric metadata

Definition at line 135 of file dst_internal.h.

isc_boolean_t dst_key::numset[DST_MAX_NUMERIC+1]

data set?

Definition at line 136 of file dst_internal.h.

isc_boolean_t dst_key::inactive

private key not present as it is inactive

Definition at line 137 of file dst_internal.h.

isc_boolean_t dst_key::external

external key

Definition at line 139 of file dst_internal.h.

int dst_key::fmt_major

private key format, major version

Definition at line 141 of file dst_internal.h.

int dst_key::fmt_minor

private key format, minor version

Definition at line 142 of file dst_internal.h.

dst_func_t* dst_key::func

crypto package specific functions

Definition at line 144 of file dst_internal.h.

isc_buffer_t* dst_key::key_tkeytoken

TKEY token data.

Definition at line 145 of file dst_internal.h.


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:20 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha