pub struct HttpGistPublisher { /* private fields */ }Expand description
HTTP implementation that publishes platform claim proofs as public GitHub Gists.
The Gist persists as a permanent, publicly-verifiable anchor. Anyone can verify the Ed25519 signature inside the claim using only the DID’s public key.
Usage:
ⓘ
let publisher = HttpGistPublisher::new();
let proof_url = publisher.publish_proof(&access_token, &claim_json).await?;Implementations§
Trait Implementations§
Source§impl Default for HttpGistPublisher
impl Default for HttpGistPublisher
Auto Trait Implementations§
impl Freeze for HttpGistPublisher
impl !RefUnwindSafe for HttpGistPublisher
impl Send for HttpGistPublisher
impl Sync for HttpGistPublisher
impl Unpin for HttpGistPublisher
impl UnsafeUnpin for HttpGistPublisher
impl !UnwindSafe for HttpGistPublisher
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