pub struct CertificateContentV0 {
pub previous: ObjectRef,
pub readcap_id: ObjectId,
pub owners_pk_set: PublicKey,
pub orders_pk_sets: OrdersPublicKeySetsV0,
}
Expand description
A Certificate content, that will be signed by the previous certificate signers.
Fields§
§previous: ObjectRef
the previous certificate in the chain of trust. Can be another Certificate or the Repository commit’s body when we are at the root of the chain of trust.
readcap_id: ObjectId
The Commit Id of the latest RootBranch definition (= the ReadCap ID) in order to keep in sync with the options for signing. not used for verifying (this is why the secret is not present).
owners_pk_set: PublicKey
PublicKey used by the Owners. verifier uses this PK if the signature was issued by the Owners.
orders_pk_sets: OrdersPublicKeySetsV0
two “orders” PublicKeys (total_order and partial_order).
Trait Implementations§
Source§impl Clone for CertificateContentV0
impl Clone for CertificateContentV0
Source§fn clone(&self) -> CertificateContentV0
fn clone(&self) -> CertificateContentV0
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CertificateContentV0
impl Debug for CertificateContentV0
Source§impl<'de> Deserialize<'de> for CertificateContentV0
impl<'de> Deserialize<'de> for CertificateContentV0
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 PartialEq for CertificateContentV0
impl PartialEq for CertificateContentV0
Source§impl Serialize for CertificateContentV0
impl Serialize for CertificateContentV0
impl Eq for CertificateContentV0
impl StructuralPartialEq for CertificateContentV0
Auto Trait Implementations§
impl Freeze for CertificateContentV0
impl RefUnwindSafe for CertificateContentV0
impl Send for CertificateContentV0
impl Sync for CertificateContentV0
impl Unpin for CertificateContentV0
impl UnwindSafe for CertificateContentV0
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