pub struct TokenSigningKeys<'a> {
pub delegator: &'a IdentityKeypair,
pub delegation: &'a IdentityKeypair,
pub delegation_seed: &'a [u8; 32],
}Expand description
Cryptographic material used to sign a delegation token.
Fields§
§delegator: &'a IdentityKeypairHuman’s identity keypair, produces the delegator signature.
delegation: &'a IdentityKeypairStable per-(human, AI) delegation keypair, produces the binding
signature. The matching public key must already be recorded in
project.yaml.
delegation_seed: &'a [u8; 32]32-byte Ed25519 seed of the delegation keypair. Embedded in the
token wire format when TokenIssueParams::crypt_scope is true
(ADR-041 §3); otherwise discarded.
Auto Trait Implementations§
impl<'a> Freeze for TokenSigningKeys<'a>
impl<'a> RefUnwindSafe for TokenSigningKeys<'a>
impl<'a> Send for TokenSigningKeys<'a>
impl<'a> Sync for TokenSigningKeys<'a>
impl<'a> Unpin for TokenSigningKeys<'a>
impl<'a> UnsafeUnpin for TokenSigningKeys<'a>
impl<'a> UnwindSafe for TokenSigningKeys<'a>
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