pub struct DerBuilder { /* private fields */ }Implementations§
Source§impl DerBuilder
impl DerBuilder
pub fn new() -> Self
pub fn begin(&mut self, der_type: DerType)
pub fn append_integer_from_u8(&mut self, value: u8)
pub fn append_integer_from_u64(&mut self, value: u64)
pub fn append_integer_from_be_slice(&mut self, value: &[u8], sign: bool)
pub fn append_null(&mut self)
pub fn append_object_identifier(&mut self, oid: &ObjectIdentifier)
pub fn append_octed_string_from_bytes(&mut self, contents: &[u8])
pub fn append_bit_string_from_bytes( &mut self, contents: &[u8], trailing_len: u8, )
pub fn append(&mut self, der_type: DerType, prefix: Option<u8>, contents: &[u8])
pub fn end(&mut self)
pub fn build(self) -> Vec<u8> ⓘ
Auto Trait Implementations§
impl Freeze for DerBuilder
impl RefUnwindSafe for DerBuilder
impl Send for DerBuilder
impl Sync for DerBuilder
impl Unpin for DerBuilder
impl UnsafeUnpin for DerBuilder
impl UnwindSafe for DerBuilder
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