69 static std::unique_ptr<TPM2::PrivateKey> create_unrestricted_transient(
const std::shared_ptr<Context>& ctx,
71 std::span<const uint8_t> auth_value,
74 std::optional<uint32_t> exponent = {});
77 std::unique_ptr<Public_Key>
public_key()
const override {
78 return std::make_unique<Botan::RSA_PublicKey>(algorithm_identifier(), public_key_bits());
81 std::vector<uint8_t>
raw_public_key_bits()
const override {
return TPM2::PrivateKey::raw_public_key_bits(); }
85 return op == PublicKeyOperation::Encryption || op == PublicKeyOperation::Signature;
89 std::string_view params,
90 std::string_view provider)
const override;
93 std::string_view params,
94 std::string_view provider)
const override;
101 const TPM2B_PUBLIC* public_blob,
102 std::span<const uint8_t> private_blob = {});