1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 /*
5  * pkix_pl_publickey.h
6  *
7  * Public Key Object Definitions
8  *
9  */
10 
11 #ifndef _PKIX_PL_PUBLICKEY_H
12 #define _PKIX_PL_PUBLICKEY_H
13 
14 #include "pkix_pl_common.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 struct PKIX_PL_PublicKeyStruct {
21         CERTSubjectPublicKeyInfo *nssSPKI;
22 };
23 
24 /* see source file for function documentation */
25 
26 PKIX_Error *pkix_pl_PublicKey_RegisterSelf(void *plContext);
27 
28 PKIX_Error *
29 PKIX_PL_PublicKey_NeedsDSAParameters(
30         PKIX_PL_PublicKey *pubKey,
31         PKIX_Boolean *pNeedsParams,
32         void *plContext);
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 
38 #endif /* _PKIX_PL_PUBLICKEY_H */
39