Expose the IKM to the crate
This commit is contained in:
parent
2e4e467f47
commit
cc97193d3a
1 changed files with 7 additions and 7 deletions
14
src/ikm.rs
14
src/ikm.rs
|
@ -6,13 +6,13 @@ const IKM_STRUCT_SIZE: usize = 57;
|
||||||
const IKM_CONTENT_SIZE: usize = 32;
|
const IKM_CONTENT_SIZE: usize = 32;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct InputKeyMaterial {
|
pub(crate) struct InputKeyMaterial {
|
||||||
id: u32,
|
pub(crate) id: u32,
|
||||||
scheme: Scheme,
|
pub(crate) scheme: Scheme,
|
||||||
content: [u8; IKM_CONTENT_SIZE],
|
pub(crate) content: [u8; IKM_CONTENT_SIZE],
|
||||||
created_at: SystemTime,
|
pub(crate) created_at: SystemTime,
|
||||||
expire_at: SystemTime,
|
pub(crate) expire_at: SystemTime,
|
||||||
is_revoked: bool,
|
pub(crate) is_revoked: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl InputKeyMaterial {
|
impl InputKeyMaterial {
|
||||||
|
|
Loading…
Reference in a new issue