pub struct ActorIdentity {
pub actor_id: String,
pub actor_type: ActorType,
pub quorum_id: Option<String>,
pub signing_key: SigningKeyHandle,
pub encryption_key: Option<EncryptionKeyHandle>,
pub certificate_chain_der: Vec<Vec<u8>>,
pub hardware_token: Option<HardwareToken>,
pub attributes: SignerAttributes,
pub registered_at: DateTime<Utc>,
pub expires_at: Option<DateTime<Utc>>,
}Expand description
A complete actor identity.
Fields§
§actor_id: StringUnique identifier (e.g., “biml-director-alice”).
actor_type: ActorTypeType of actor.
quorum_id: Option<String>Quorum this actor belongs to (if any).
signing_key: SigningKeyHandleHandle to the signing keypair.
encryption_key: Option<EncryptionKeyHandle>Handle to the encryption keypair.
certificate_chain_der: Vec<Vec<u8>>X.509 certificate chain (DER-encoded), leaf first.
hardware_token: Option<HardwareToken>Hardware token, if any.
attributes: SignerAttributesAttribute bindings for predicate-based signing.
registered_at: DateTime<Utc>When this identity was registered.
expires_at: Option<DateTime<Utc>>When this identity expires (if it does).
Implementations§
Source§impl ActorIdentity
impl ActorIdentity
Sourcepub fn builder() -> ActorIdentityBuilder
pub fn builder() -> ActorIdentityBuilder
Create a new actor identity builder.
Trait Implementations§
Source§impl Clone for ActorIdentity
impl Clone for ActorIdentity
Source§fn clone(&self) -> ActorIdentity
fn clone(&self) -> ActorIdentity
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 moreSource§impl Debug for ActorIdentity
impl Debug for ActorIdentity
Source§impl<'de> Deserialize<'de> for ActorIdentity
impl<'de> Deserialize<'de> for ActorIdentity
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
Auto Trait Implementations§
impl Freeze for ActorIdentity
impl RefUnwindSafe for ActorIdentity
impl Send for ActorIdentity
impl Sync for ActorIdentity
impl Unpin for ActorIdentity
impl UnsafeUnpin for ActorIdentity
impl UnwindSafe for ActorIdentity
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