4#ifndef _Stroika_Foundation_Cryptography_PrivateKey_h_
5#define _Stroika_Foundation_Cryptography_PrivateKey_h_ 1
7#include "Stroika/Foundation/StroikaPreComp.h"
12#include "Stroika/Foundation/Common/Common.h"
15namespace Stroika::Foundation::Cryptography::PKI::PrivateKey {
17 using Characters::String;
24 virtual ~IRep () =
default;
27 virtual int GetType ()
const = 0;
28 virtual unsigned int GetBits ()
const = 0;
29 virtual String GetPrintSummary ()
const = 0;
34 struct Ptr : shared_ptr<IRep> {
35 using inherited = shared_ptr<IRep>;
38 using inherited::inherited;
40 Characters::String
ToString ()
const;
44 return get ()->GetType ();
47 unsigned int GetBits ()
const
49 return get ()->GetBits ();
51 String GetPrintSummary ()
const
53 return get ()->GetPrintSummary ();
STRING_TYPE ToString(FLOAT_TYPE f, const ToStringOptions &options={})