pub enum LiveSignerKey {
Software(SigningKey),
}Expand description
On-demand signer backing: a software P-256 key or a PKCS#11 HSM key.
The enum implements the exact trait set sign_live_response requires, so
nonce_policy = "live" works with [ca.signing_key] type = "pkcs11" —
the same HSM keys the pre-signed batch path uses.
Variants§
Software(SigningKey)
Implementations§
Source§impl LiveSignerKey
impl LiveSignerKey
Sourcepub fn verifying_key(&self) -> Option<VerifyingKey>
pub fn verifying_key(&self) -> Option<VerifyingKey>
The verifying key, when the backing key is software.
None for HSM-backed keys — the private key never leaves the module,
so callers verify key identity by signing (see load_live_material).
Trait Implementations§
Source§impl DynSignatureAlgorithmIdentifier for LiveSignerKey
impl DynSignatureAlgorithmIdentifier for LiveSignerKey
Source§fn signature_algorithm_identifier(&self) -> Result<AlgorithmIdentifierOwned>
fn signature_algorithm_identifier(&self) -> Result<AlgorithmIdentifierOwned>
AlgorithmIdentifier for the corresponding singature system.Source§impl Signer<LiveEcdsaSignature> for LiveSignerKey
impl Signer<LiveEcdsaSignature> for LiveSignerKey
Auto Trait Implementations§
impl Freeze for LiveSignerKey
impl RefUnwindSafe for LiveSignerKey
impl Send for LiveSignerKey
impl Sync for LiveSignerKey
impl Unpin for LiveSignerKey
impl UnsafeUnpin for LiveSignerKey
impl UnwindSafe for LiveSignerKey
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