pub enum IdentityAssurance {
Anonymous,
Pseudonymous {
ephemeral_key: Jwk,
},
Identified {
credential_kind: CredentialKind,
},
TaskScoped {
identity: IdentityId,
task_id: String,
scopes: Vec<String>,
expires_at: DateTime<Utc>,
},
UserAuthorized {
identity: IdentityId,
user_id: IdentityId,
scopes: Vec<String>,
},
DtlsFingerprint {
algorithm: String,
value: String,
},
}Expand description
IdentityAssurance gradient per CONVERSATION_PROTOCOL.md §5.6.
The DtlsFingerprint variant is always compiled (downstream
crates like rvoip-auth-core match on it); the
identity-fingerprint-binding feature flag in rvoip-core controls
whether production fingerprint verification is wired by
default. See INTERFACE_DESIGN.md §8.4.
Variants§
Anonymous
Pseudonymous
Identified
Fields
§
credential_kind: CredentialKindTaskScoped
UserAuthorized
DtlsFingerprint
D2 — DTLS-SRTP fingerprint binding (RFC 8122 §5).
algorithm is the IANA hash name (e.g. "sha-256");
value is the colon-separated hex digest as it appears in
the SDP a=fingerprint: attribute.
Implementations§
Trait Implementations§
Source§impl Clone for IdentityAssurance
impl Clone for IdentityAssurance
Source§fn clone(&self) -> IdentityAssurance
fn clone(&self) -> IdentityAssurance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IdentityAssurance
impl RefUnwindSafe for IdentityAssurance
impl Send for IdentityAssurance
impl Sync for IdentityAssurance
impl Unpin for IdentityAssurance
impl UnsafeUnpin for IdentityAssurance
impl UnwindSafe for IdentityAssurance
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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