pub struct ChainKeyRootSignatureV1 {
pub algorithm: ChainKeyAlgorithm,
pub key_id: ChainKeyKeyId,
pub derivation_path: Vec<Vec<u8>>,
pub public_key: Vec<u8>,
pub signature: Vec<u8>,
}Expand description
Root signature with submitted key metadata. The public key is never a trust anchor by itself; verification compares it with independently enrolled policy.
Fields§
§algorithm: ChainKeyAlgorithmSignature algorithm, also bound by the signed batch header.
key_id: ChainKeyKeyIdNetwork key identifier, also bound by the signed batch header.
derivation_path: Vec<Vec<u8>>Ordered derivation components whose canonical hash must match enrollment.
public_key: Vec<u8>SEC1-encoded secp256k1 public key, compared with the enrolled key.
signature: Vec<u8>Root signature bytes over the canonical batch header digest.
Trait Implementations§
Source§impl Clone for ChainKeyRootSignatureV1
impl Clone for ChainKeyRootSignatureV1
Source§impl Debug for ChainKeyRootSignatureV1
impl Debug for ChainKeyRootSignatureV1
Source§impl<'de> Deserialize<'de> for ChainKeyRootSignatureV1
impl<'de> Deserialize<'de> for ChainKeyRootSignatureV1
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
impl Eq for ChainKeyRootSignatureV1
Source§impl PartialEq for ChainKeyRootSignatureV1
impl PartialEq for ChainKeyRootSignatureV1
Source§impl Serialize for ChainKeyRootSignatureV1
impl Serialize for ChainKeyRootSignatureV1
impl StructuralPartialEq for ChainKeyRootSignatureV1
Auto Trait Implementations§
impl Forget for ChainKeyRootSignatureV1
impl Freeze for ChainKeyRootSignatureV1
impl Move for ChainKeyRootSignatureV1
impl RefUnwindSafe for ChainKeyRootSignatureV1
impl Send for ChainKeyRootSignatureV1
impl Sync for ChainKeyRootSignatureV1
impl Unpin for ChainKeyRootSignatureV1
impl UnsafeUnpin for ChainKeyRootSignatureV1
impl UnwindSafe for ChainKeyRootSignatureV1
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