pub struct GatewayBridgeConfig {
pub gateway_guid: [u8; 16],
pub signing_key: Vec<u8>,
pub algorithm: SignatureAlgorithm,
}Expand description
Configuration of a gateway bridge.
gateway_guid is the 16-byte subject GUID that the issued
delegations carry as their delegator_guid.
signing_key is the PKCS#8-DER-formatted private key material for
signing new links — the bridge holds it in RAM, the loading mechanism
is up to the caller (filesystem, secret manager, HSM).
algorithm must match the trust anchor of the profile against which the
chain is later validated.
Fields§
§gateway_guid: [u8; 16]16-byte gateway participant GUID.
signing_key: Vec<u8>PKCS#8-DER-formatted private key.
algorithm: SignatureAlgorithmSignature algorithm.
Trait Implementations§
Source§impl Clone for GatewayBridgeConfig
impl Clone for GatewayBridgeConfig
Source§fn clone(&self) -> GatewayBridgeConfig
fn clone(&self) -> GatewayBridgeConfig
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 GatewayBridgeConfig
impl RefUnwindSafe for GatewayBridgeConfig
impl Send for GatewayBridgeConfig
impl Sync for GatewayBridgeConfig
impl Unpin for GatewayBridgeConfig
impl UnsafeUnpin for GatewayBridgeConfig
impl UnwindSafe for GatewayBridgeConfig
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