#include <PolCredBase.h>
Inheritance diagram for CODEX_Ciphers::PolCredBase:


Public Member Functions | |
| PolCredBase () | |
| Default constructor, for creating an object to be unmarshalled. | |
| PolCredBase (const RSAPublicKey &publicKey, const RSASignature &signature) | |
| Create PolCredBase from a public key and a signature. | |
| PolCredBase (const RSAPublicKey &publicKey, const RSAPrivateKey &signingKey, const HashFunction &hashFunc) | |
| Create PolCredBase from public and private keys and a hash function. | |
| PolCredBase (const PolCredBase &aCred) | |
| Create a PolCredBase from another PolCredBase. | |
| virtual | ~PolCredBase () |
| Virtual destructor. | |
| void | operator= (const PolCredBase &aCred) |
| Assignment operator. | |
| const RSAPublicKey & | publicKey () const |
| The public key. | |
| const RSASignature & | signature () const |
| Signature indicating delegated rights. | |
| bool | verify (const RSAPublicKey &delegator, const HashFunction &hashFunc) const |
| Verify against a known public key. | |
| int | marshal (unsigned char **pp) const |
| Serialize the object. | |
| void * | unmarshal (void *bogus, unsigned char **pp, long length) |
| Unserialize the object. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
Delegated rights are specified by a public key, which is signed by an object already possessing those rights.
Definition at line 34 of file PolCredBase.h.
|
||||||||||||||||
|
Create PolCredBase from public and private keys and a hash function.
Definition at line 37 of file PolCredBase.cc. References signature(). |
|
|
||||||||||||
|
Verify against a known public key.
Definition at line 80 of file PolCredBase.cc. |
1.4.1