aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/if_algo/if_algo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/if_algo/if_algo.h')
-rw-r--r--src/pubkey/if_algo/if_algo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pubkey/if_algo/if_algo.h b/src/pubkey/if_algo/if_algo.h
index c58b693be..fc09f2881 100644
--- a/src/pubkey/if_algo/if_algo.h
+++ b/src/pubkey/if_algo/if_algo.h
@@ -42,7 +42,12 @@ class BOTAN_DLL IF_Scheme_PublicKey : public virtual Public_Key
u32bit max_input_bits() const { return (n.bits() - 1); }
X509_Decoder* x509_decoder();
+
+ IF_Scheme_PublicKey(const AlgorithmIdentifier& alg_id,
+ const MemoryRegion<byte>& key_bits);
protected:
+ IF_Scheme_PublicKey() {}
+
virtual void X509_load_hook();
BigInt n, e;
IF_Core core;