pub struct OperationalCert { /* private fields */ }
Implementations
sourceimpl OperationalCert
impl OperationalCert
pub fn from_bytes(bytes: Vec<u8>) -> Result<OperationalCert, DeserializeError>
sourceimpl OperationalCert
impl OperationalCert
pub fn hot_vkey(&self) -> KESVKey
pub fn sequence_number(&self) -> u32
pub fn kes_period(&self) -> u32
pub fn sigma(&self) -> Ed25519Signature
pub fn new(
hot_vkey: &KESVKey,
sequence_number: u32,
kes_period: u32,
sigma: &Ed25519Signature
) -> Self
Trait Implementations
sourceimpl Clone for OperationalCert
impl Clone for OperationalCert
sourcefn clone(&self) -> OperationalCert
fn clone(&self) -> OperationalCert
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OperationalCert
impl Debug for OperationalCert
sourceimpl Deserialize for OperationalCert
impl Deserialize for OperationalCert
fn deserialize<R: BufRead + Seek>(
raw: &mut Deserializer<R>
) -> Result<Self, DeserializeError>
sourceimpl DeserializeEmbeddedGroup for OperationalCert
impl DeserializeEmbeddedGroup for OperationalCert
fn deserialize_as_embedded_group<R: BufRead + Seek>(
raw: &mut Deserializer<R>,
_: Len
) -> Result<Self, DeserializeError>
sourceimpl PartialEq<OperationalCert> for OperationalCert
impl PartialEq<OperationalCert> for OperationalCert
sourcefn eq(&self, other: &OperationalCert) -> bool
fn eq(&self, other: &OperationalCert) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OperationalCert) -> bool
fn ne(&self, other: &OperationalCert) -> bool
This method tests for !=
.
sourceimpl Serialize for OperationalCert
impl Serialize for OperationalCert
fn serialize<'se, W: Write>(
&self,
serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
impl Eq for OperationalCert
impl StructuralEq for OperationalCert
impl StructuralPartialEq for OperationalCert
Auto Trait Implementations
impl RefUnwindSafe for OperationalCert
impl Send for OperationalCert
impl Sync for OperationalCert
impl Unpin for OperationalCert
impl UnwindSafe for OperationalCert
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more