Enforce line wrapping
This commit is contained in:
parent
a5a917cfe2
commit
76ef9a6820
1 changed files with 8 additions and 4 deletions
12
src/lib.rs
12
src/lib.rs
|
@ -28,10 +28,12 @@ pub use ikm::{IkmId, InputKeyMaterial, InputKeyMaterialList};
|
||||||
#[cfg(any(feature = "encryption", feature = "ikm-management"))]
|
#[cfg(any(feature = "encryption", feature = "ikm-management"))]
|
||||||
pub use scheme::Scheme;
|
pub use scheme::Scheme;
|
||||||
|
|
||||||
/// Default amount of time during which the input key material will be considered valid once it has been generated.
|
/// Default amount of time during which the input key material will be considered valid once it has
|
||||||
/// This value is expressed in seconds.
|
/// been generated. This value is expressed in seconds.
|
||||||
///
|
///
|
||||||
/// Considering that a day is composed of 86400 seconds (60×60×24) and a year is 365.24219 days (approximate value of the [mean tropical year][tropical_year]), this value is equivalent to 10 years.
|
/// Considering that a day is composed of 86400 seconds (60×60×24) and a year is 365.24219 days
|
||||||
|
/// (approximate value of the [mean tropical year][tropical_year]), this value is equivalent to 10
|
||||||
|
/// years.
|
||||||
///
|
///
|
||||||
/// [tropical_year]: https://en.wikipedia.org/wiki/Tropical_year
|
/// [tropical_year]: https://en.wikipedia.org/wiki/Tropical_year
|
||||||
#[cfg(feature = "ikm-management")]
|
#[cfg(feature = "ikm-management")]
|
||||||
|
@ -40,7 +42,9 @@ pub const DEFAULT_IKM_DURATION: u64 = 315_569_252;
|
||||||
/// This is used for automatic periodic key rotation.
|
/// This is used for automatic periodic key rotation.
|
||||||
/// This value is expressed in seconds.
|
/// This value is expressed in seconds.
|
||||||
///
|
///
|
||||||
/// Considering that a day is composed of 86400 seconds (60×60×24) and a year is 365.24219 days (approximate value of the [mean tropical year][tropical_year]), this value is equivalent to 1 year.
|
/// Considering that a day is composed of 86400 seconds (60×60×24) and a year is 365.24219 days
|
||||||
|
/// (approximate value of the [mean tropical year][tropical_year]), this value is equivalent to 1
|
||||||
|
/// year.
|
||||||
///
|
///
|
||||||
/// [tropical_year]: https://en.wikipedia.org/wiki/Tropical_year
|
/// [tropical_year]: https://en.wikipedia.org/wiki/Tropical_year
|
||||||
#[cfg(feature = "encryption")]
|
#[cfg(feature = "encryption")]
|
||||||
|
|
Loading…
Reference in a new issue