pub(crate) struct Template {
pub bytes: &'static [u8],
pub alg_id_range: Range<usize>,
pub curve_id_index: usize,
pub private_key_index: usize,
}
Expand description
A template for constructing PKCS#8 documents.
Note that this only works for ECC.
Fields§
§bytes: &'static [u8]
§alg_id_range: Range<usize>
§curve_id_index: usize
§private_key_index: usize
Implementations§
Auto Trait Implementations§
impl Freeze for Template
impl RefUnwindSafe for Template
impl Send for Template
impl Sync for Template
impl Unpin for Template
impl UnwindSafe for Template
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more