Co-authored-by: neelimap <neelimaps@neominds.in> Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/5 Reviewed-by: Siddhant Singh <siddhant.singh@neominds.in> Co-authored-by: Neelima P S <neelima.ps@neominds.in> Co-committed-by: Neelima P S <neelima.ps@neominds.in>
48 lines
1016 B
C
48 lines
1016 B
C
/* secKeyStore.h - VxWorks Key Store library header file */
|
|
|
|
/*
|
|
* Copyright (c) 2015, 2021 Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute, modify, or otherwise make use
|
|
* of this software may be licensed only pursuant to the terms
|
|
* of an applicable Wind River license agreement.
|
|
*/
|
|
|
|
#ifndef __INCsecKeyStoreh
|
|
#define __INCsecKeyStoreh
|
|
|
|
/* includes */
|
|
#include <secSecret.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
/* defines */
|
|
|
|
/* typedefs */
|
|
|
|
struct evp_pkey_st;
|
|
struct x509_st;
|
|
|
|
/* function declarations */
|
|
struct evp_pkey_st* secKeyStoreGet(const char* key_id);
|
|
|
|
|
|
struct evp_pkey_st* secKeyStoreX509Get(struct x509_st* x509,
|
|
char* id,
|
|
int* len);
|
|
|
|
int secKeyStoreImport(const char* key_id,
|
|
struct evp_pkey_st* key);
|
|
|
|
|
|
int secKeyStoreDel(const char* key_id);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __INCsecKeyStoreh */
|