pub struct OperationalCert { /* private fields */ }
Implementations§
source§impl OperationalCert
impl OperationalCert
pub fn from_bytes(bytes: Vec<u8>) -> Result<OperationalCert, DeserializeError>
source§impl OperationalCert
impl OperationalCert
pub fn from_hex(hex_str: &str) -> Result<OperationalCert, DeserializeError>
source§impl 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§
source§impl Clone for OperationalCert
impl Clone for OperationalCert
source§fn clone(&self) -> OperationalCert
fn clone(&self) -> OperationalCert
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 OperationalCert
impl Debug for OperationalCert
source§impl<'de> Deserialize<'de> for OperationalCert
impl<'de> Deserialize<'de> for OperationalCert
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Deserialize for OperationalCert
impl Deserialize for OperationalCert
fn deserialize<R: BufRead + Seek>(
raw: &mut Deserializer<R>
) -> Result<Self, DeserializeError>
source§impl DeserializeEmbeddedGroup for OperationalCert
impl DeserializeEmbeddedGroup for OperationalCert
fn deserialize_as_embedded_group<R: BufRead + Seek>(
raw: &mut Deserializer<R>,
_: Len
) -> Result<Self, DeserializeError>
source§impl JsonSchema for OperationalCert
impl JsonSchema for OperationalCert
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<OperationalCert> for OperationalCert
impl PartialEq<OperationalCert> for OperationalCert
source§fn 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 ==
.