mirror of
https://github.com/openssl/openssl.git
synced 2025-01-06 13:26:43 +08:00
0b27381fd5
The idea is to be able to have our apps load engine keys using a URI: org.openssl.engine:{engineid}:{keyid} This is legacy, but added for the time being to support keys given to the application like this: -engine {engineid} -key {keyid} -keyform ENGINE This latter form is recognised internally, and rewritten into the URI form. Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/13570)
22 lines
635 B
C
22 lines
635 B
C
/*
|
|
* Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
|
|
*
|
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
* in the file LICENSE in the source distribution or at
|
|
* https://www.openssl.org/source/license.html
|
|
*/
|
|
#ifndef HEADER_ENGINE_LOADER_H
|
|
# define HEADER_ENGINE_LOADER_H
|
|
|
|
# include <openssl/store.h>
|
|
|
|
/* this is a private URI scheme */
|
|
# define ENGINE_SCHEME "org.openssl.engine"
|
|
# define ENGINE_SCHEME_COLON (ENGINE_SCHEME ":")
|
|
|
|
int setup_engine_loader(void);
|
|
void destroy_engine_loader(void);
|
|
|
|
#endif
|