Botan  1.11.15
Public Member Functions
Botan::PK_Ops::PK_Spec< Key > Struct Template Reference

#include <pk_ops.h>

List of all members.

Public Member Functions

std::string algo_name () const
std::string as_string () const
const Key & key () const
const std::string & padding () const
 PK_Spec (const Key &key, const std::string &pad)

Detailed Description

template<typename Key>
struct Botan::PK_Ops::PK_Spec< Key >

Definition at line 20 of file pk_ops.h.


Constructor & Destructor Documentation

template<typename Key >
Botan::PK_Ops::PK_Spec< Key >::PK_Spec ( const Key &  key,
const std::string &  pad 
) [inline]

Definition at line 23 of file pk_ops.h.

                                                    :
         m_key(key), m_pad(pad) {}

Member Function Documentation

template<typename Key >
std::string Botan::PK_Ops::PK_Spec< Key >::algo_name ( ) const [inline]

Definition at line 26 of file pk_ops.h.

Referenced by Botan::PK_Ops::PK_Spec< Key >::as_string().

{ return m_key.algo_name(); }
template<typename Key >
std::string Botan::PK_Ops::PK_Spec< Key >::as_string ( ) const [inline]

Definition at line 28 of file pk_ops.h.

References Botan::PK_Ops::PK_Spec< Key >::algo_name(), and Botan::PK_Ops::PK_Spec< Key >::padding().

{ return algo_name() + "/" + padding(); }
template<typename Key >
const Key& Botan::PK_Ops::PK_Spec< Key >::key ( ) const [inline]

Definition at line 30 of file pk_ops.h.

{ return m_key; }
template<typename Key >
const std::string& Botan::PK_Ops::PK_Spec< Key >::padding ( ) const [inline]

Definition at line 31 of file pk_ops.h.

Referenced by Botan::PK_Ops::PK_Spec< Key >::as_string().

{ return m_pad; }

The documentation for this struct was generated from the following file: