File tree 2 files changed +4
-7
lines changed
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 2
2
// SPDX-License-Identifier: Apache-2.0
3
3
//! Mechanism info and associated flags
4
4
5
- use cryptoki_sys:: * ;
6
- use std:: fmt:: Formatter ;
7
-
8
5
use crate :: flag:: { CkFlags , FlagBit } ;
9
- use std:: fmt:: { self , Debug } ;
6
+ use cryptoki_sys:: * ;
7
+ use std:: fmt:: { self , Debug , Formatter } ;
10
8
11
9
const HW : FlagBit < MechanismInfo > = FlagBit :: new ( CKF_HW ) ;
12
10
const ENCRYPT : FlagBit < MechanismInfo > = FlagBit :: new ( CKF_ENCRYPT ) ;
Original file line number Diff line number Diff line change 2
2
// SPDX-License-Identifier: Apache-2.0
3
3
//! PKCS11 Token info and associated flags
4
4
5
- use cryptoki_sys:: * ;
6
- use std:: fmt:: { self , Debug , Formatter } ;
7
-
8
5
use crate :: flag:: { CkFlags , FlagBit } ;
9
6
use crate :: string_from_blank_padded;
10
7
use crate :: types:: { maybe_unlimited, MaybeUnavailable , Version } ;
8
+ use cryptoki_sys:: * ;
9
+ use std:: fmt:: { self , Debug , Formatter } ;
11
10
12
11
const RNG : FlagBit < TokenInfo > = FlagBit :: new ( CKF_RNG ) ;
13
12
const WRITE_PROTECTED : FlagBit < TokenInfo > = FlagBit :: new ( CKF_WRITE_PROTECTED ) ;
You can’t perform that action at this time.
0 commit comments