pub trait PrivateKey: KeyInfoSigner {
    fn as_key_info_signer(&self) -> &dyn KeyInfoSigner;
    fn to_public_key_peer_decrypt(
        &self
    ) -> Result<Box<dyn PublicKeyPeerDecrypt>, AppleCodesignError>; fn finish(&self) -> Result<(), AppleCodesignError>; }
Expand description

A supertrait generically describing a private key capable of signing and possibly decryption.

Required Methods§

Signals the end of operations on the private key.

Implementations can use this to do things like destroy private key matter, disconnect from a hardware device, etc.

Implementors§