struct TpmRemoteSigner {
pubkey_uncompressed: Vec<u8>,
sign_wrapper_path: PathBuf,
}Expand description
Shells out to the keyslot’s tpm-sign-<keyname> (file in, raw R||S out);
der_encode_ecdsa_p256_sig rewraps to the DER form rcgen expects.
Fields§
§pubkey_uncompressed: Vec<u8>§sign_wrapper_path: PathBufTrait Implementations§
Source§impl RemoteKeyPair for TpmRemoteSigner
impl RemoteKeyPair for TpmRemoteSigner
Source§fn public_key(&self) -> &[u8] ⓘ
fn public_key(&self) -> &[u8] ⓘ
Returns the public key of this key pair in the binary format as in [
KeyPair::public_key_raw]Auto Trait Implementations§
impl Freeze for TpmRemoteSigner
impl RefUnwindSafe for TpmRemoteSigner
impl Send for TpmRemoteSigner
impl Sync for TpmRemoteSigner
impl Unpin for TpmRemoteSigner
impl UnwindSafe for TpmRemoteSigner
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