Struct c509_certificate::oid::C509oidRegistered
source · pub struct C509oidRegistered {
oid: C509oid,
registration_table: &'static IntegerToOidTable,
}
Expand description
A strut of C509 OID with Registered Integer.
Fields§
§oid: C509oid
The C509oid
.
registration_table: &'static IntegerToOidTable
The registration table.
Implementations§
source§impl C509oidRegistered
impl C509oidRegistered
sourcepub(crate) fn new(oid: Oid<'static>, table: &'static IntegerToOidTable) -> Self
pub(crate) fn new(oid: Oid<'static>, table: &'static IntegerToOidTable) -> Self
Create a new instance of C509oidRegistered
.
sourcepub(crate) fn pen_encoded(self) -> Self
pub(crate) fn pen_encoded(self) -> Self
Is PEN Encoding supported for this OID. Depends on each registration table.
sourcepub fn get_c509_oid(&self) -> C509oid
pub fn get_c509_oid(&self) -> C509oid
Get the C509oid
.
sourcepub(crate) fn get_table(&self) -> &'static IntegerToOidTable
pub(crate) fn get_table(&self) -> &'static IntegerToOidTable
Get the registration table.
Trait Implementations§
source§impl Clone for C509oidRegistered
impl Clone for C509oidRegistered
source§fn clone(&self) -> C509oidRegistered
fn clone(&self) -> C509oidRegistered
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for C509oidRegistered
impl Debug for C509oidRegistered
source§impl PartialEq for C509oidRegistered
impl PartialEq for C509oidRegistered
impl StructuralPartialEq for C509oidRegistered
Auto Trait Implementations§
impl Freeze for C509oidRegistered
impl RefUnwindSafe for C509oidRegistered
impl Send for C509oidRegistered
impl Sync for C509oidRegistered
impl Unpin for C509oidRegistered
impl UnwindSafe for C509oidRegistered
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)