pub struct TpmCaSigner {
pubkey_uncompressed: Vec<u8>,
sign_wrapper_path: PathBuf,
issuer_cert: Certificate,
}Expand description
TPM-backed CA. Holds uncompressed SEC1 P-256 pubkey (0x04 || X || Y,
65 bytes - rcgen’s ECDSA shape) + the tpm-sign-<keyname> wrapper path.
Issuer cert is self-signed via TPM once at construction; the real CA
signature (by the offline fleet root) lives on disk and rcgen never
reads it (only DN + pubkey), so the re-self-sign is sound.
Fields§
§pubkey_uncompressed: Vec<u8>§sign_wrapper_path: PathBuf§issuer_cert: CertificateImplementations§
Source§impl TpmCaSigner
impl TpmCaSigner
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TpmCaSigner
impl RefUnwindSafe for TpmCaSigner
impl Send for TpmCaSigner
impl Sync for TpmCaSigner
impl Unpin for TpmCaSigner
impl UnwindSafe for TpmCaSigner
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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