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


Public Methods | |
| 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 |
| |
| const RSASignature & | signature () const |
| |
| 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. | |
Delegated rights are specified by a public key, which is signed by an object already possessing those rights.
Definition at line 31 of file PolCredBase.h.
|
||||||||||||||||
|
Create PolCredBase from public and private keys and a hash function.
Definition at line 37 of file PolCredBase.cc. References CODEX_Ciphers::RSAPrivateKey::sign(), and signature(). |
|
||||||||||||
|
Verify against a known public key.
Definition at line 80 of file PolCredBase.cc. References CODEX_Ciphers::RSAPublicKey::verifySignature(). |
1.2.18