1 /*---------------------------------------------------------------------------*
2 
3   Copyright (C) Nintendo.  All rights reserved.
4 
5   These coded instructions, statements, and computer programs contain
6   proprietary information of Nintendo of America Inc. and/or Nintendo
7   Company Ltd., and are protected by Federal copyright law.  They may
8   not be disclosed to third parties or copied or duplicated in any form,
9   in whole or in part, without the prior written consent of Nintendo.
10 
11  *---------------------------------------------------------------------------*/
12 #ifndef __CERTSTORE_H_
13 #define __CERTSTORE_H_
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 /* CA certificate groups (to be used when calling NSSLAddServerPKIGroups) */
20 #define CERTSTORE_ENTITY_GROUP_NINTENDO_CA_CERTS       0x00000001
21 #define CERTSTORE_ENTITY_GROUP_COMMERCIAL_CA_CERTS     0x00000002
22 #define CERTSTORE_ENTITY_GROUP_ANY (CERTSTORE_ENTITY_GROUP_NINTENDO_CA_CERTS | CERTSTORE_ENTITY_GROUP_COMMERCIAL_CA_CERTS)
23 
24 typedef int CertstoreEntityId;
25 typedef u32 CertstoreEntityGroups;
26 typedef CertstoreEntityGroups CertstoreEntityGroupMask;
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif
33