monotone

monotone Mtn Source Tree

Root/botan/look_pk.h

1/*************************************************
2* PK Algorithm Lookup Header File *
3* (C) 1999-2006 The Botan Project *
4*************************************************/
5
6#ifndef BOTAN_PK_LOOKUP_H__
7#define BOTAN_PK_LOOKUP_H__
8
9#include <botan/pubkey.h>
10
11namespace Botan {
12
13/*************************************************
14* Get an PK algorithm object *
15*************************************************/
16PK_Encryptor* get_pk_encryptor(const PK_Encrypting_Key&, const std::string&);
17PK_Decryptor* get_pk_decryptor(const PK_Decrypting_Key&, const std::string&);
18
19PK_Signer* get_pk_signer(const PK_Signing_Key&, const std::string&,
20 Signature_Format = IEEE_1363);
21
22PK_Verifier* get_pk_verifier(const PK_Verifying_with_MR_Key&,
23 const std::string&,
24 Signature_Format = IEEE_1363);
25PK_Verifier* get_pk_verifier(const PK_Verifying_wo_MR_Key&,
26 const std::string&,
27 Signature_Format = IEEE_1363);
28
29PK_Key_Agreement* get_pk_kas(const PK_Key_Agreement_Key&, const std::string&);
30
31}
32
33#endif

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status