pub struct Credentials {
pub key: Key,
pub ec_signature: Ed25519Signature,
pub pq_signature: FnDsaSignature,
pub verifying_keys_mac: Vec<u8>,
}Fields§
§key: Key§ec_signature: Ed25519Signature§pq_signature: FnDsaSignature§verifying_keys_mac: Vec<u8>Trait Implementations§
Source§impl Digestible for Credentials
impl Digestible for Credentials
Source§fn hashable_bytes(&self) -> Vec<Box<dyn AsRef<[u8]> + '_>>
fn hashable_bytes(&self) -> Vec<Box<dyn AsRef<[u8]> + '_>>
Return a vector of byte references that represent this data structure. Read more
Source§fn digest(&self) -> CoreWrapper<Sha3_512Core>
fn digest(&self) -> CoreWrapper<Sha3_512Core>
Generate a SHA3-512 digest from the hashable bytes.
Source§fn finalized_digest(&self) -> [u8; 64]
fn finalized_digest(&self) -> [u8; 64]
Generate a finalized SHA3-512 digest as a 64-byte array.
Source§impl ProstDecode for Credentials
impl ProstDecode for Credentials
type EncodedType = Credentials
fn decode<M>(message: M) -> Result<Self, DecodeError>
Source§impl ProstEncode for Credentials
impl ProstEncode for Credentials
Source§impl Signatures for Credentials
impl Signatures for Credentials
Source§fn ec_signature(&self) -> &Ed25519Signature
fn ec_signature(&self) -> &Ed25519Signature
Access to the Ed25519 signature.
Source§fn pq_signature(&self) -> &FnDsaSignature
fn pq_signature(&self) -> &FnDsaSignature
Access to the FN-DSA signature.
Auto Trait Implementations§
impl Freeze for Credentials
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnwindSafe for Credentials
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