14 #ifndef PRCKEYREGISTRY_H 15 #define PRCKEYREGISTRY_H 26 typedef struct evp_pkey_st EVP_PKEY;
36 class EXPCL_DTOOL_PRC PrcKeyRegistry {
45 time_t _generated_time;
48 void record_keys(
const KeyDef *key_def,
size_t num_keys);
49 void set_key(
size_t n, EVP_PKEY *pkey, time_t generated_time);
51 size_t get_num_keys()
const;
52 EVP_PKEY *get_key(
size_t n)
const;
53 time_t get_generated_time(
size_t n)
const;
55 static PrcKeyRegistry *get_global_ptr();
63 time_t _generated_time;
66 typedef std::vector<Key> Keys;
69 static PrcKeyRegistry *_global_ptr;
74 #endif // HAVE_OPENSSL
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.