1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
pub type PK11SlotInfo = u8;
pub type PK11SymKey = u8;
pub type PK11Context = u8;
#[repr(u32)]
pub enum PK11Origin {
PK11_OriginNULL = 0,
PK11_OriginDerive = 1,
PK11_OriginGenerated = 2,
PK11_OriginFortezzaHack = 3,
PK11_OriginUnwrap = 4,
}
#[repr(u32)]
pub enum PK11ObjectType {
PK11_TypeGeneric = 0,
PK11_TypePrivKey = 1,
PK11_TypePubKey = 2,
PK11_TypeCert = 3,
PK11_TypeSymKey = 4,
}
pub type PK11GenericObject = u8;