filament-link · proof
Source declarations, signatures and documentation for proof.
Read the current implementation boundaries before integration. This reference reproduces declarations; it omits source comments whose examples or readiness claims have not been verified.
Source: sigil/weave/filament/filament-link/src/proof.rs. SHA-256: ceac3ce54a3d3bf23bb445ba34264979e3ebb74b3341385cd14b37f9775b8aaf.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
proof::LinkProof
#[derive(Debug, Clone)]
pub struct LinkProof {
/// Link ID this proof responds to
pub link_id: LinkId,
/// Responder's ephemeral encryption public key (X25519)
pub ephemeral_encryption_key: PublicKey,
/// Responder's ephemeral signing public key (Ed25519)
pub ephemeral_signing_key: VerifyingKey,
/// Ed25519 signature proving possession of responder's identity
pub signature: [u8; 64],
/// Link context byte
pub context: u8
}Source line: 37.
proof::LinkProof::SIZE
pub const SIZE: usize;Source line: 56.
proof::LinkProof::new
pub fn new(
link_id: LinkId,
identity: &Identity,
ephemeral_signing_secret: &SigningKey,
) -> Self;Source line: 65.
proof::LinkProof::to_bytes
pub fn to_bytes(&self) -> [u8; Self::SIZE];Source line: 93.
proof::LinkProof::from_bytes
pub fn from_bytes(bytes: &[u8]) -> Result<Self>;Source line: 120.
proof::LinkProof::verify
pub fn verify(
&self,
expected_link_id: &LinkId,
responder_verifying_key: &VerifyingKey,
) -> Result<()>;Source line: 172.
proof::LinkProof::validate
pub fn validate(&self) -> Result<()>;Source line: 200.