|
libdigidocpp
|
#include <Signer.h>


Classes | |
| struct | Digest |
| struct | Signature |
Public Member Functions | |
| virtual | ~Signer () |
| virtual int | type () const |
| virtual X509 * | getCert () const =0 throw (SignException) |
| virtual void | sign (const Digest &digest, Signature &signature)=0 throw (SignException) |
| void | setSignatureProductionPlace (const SignatureProductionPlace &signatureProductionPlace) |
| SignatureProductionPlace | getSignatureProductionPlace () const |
| void | setSignerRole (const SignerRole &signerRole) |
| SignerRole | getSignerRole () const |
Private Attributes | |
| SignatureProductionPlace | signatureProductionPlace |
| SignerRole | signerRole |
Signer interface. Provides methods for signing documents. Digidoc LIB implements EstID signer class that allows signing with EstId chip card. Other implementation may provide signing implementation with other public-key cryptography systems.
|
pure virtual |
Implemented in digidoc::PKCS11Signer, digidoc::RSASigner, and digidoc::CNGSigner.
| digidoc::SignatureProductionPlace digidoc::Signer::getSignatureProductionPlace | ( | ) | const |
Definition at line 42 of file Signer.cpp.
| digidoc::SignerRole digidoc::Signer::getSignerRole | ( | ) | const |
Definition at line 58 of file Signer.cpp.
| void digidoc::Signer::setSignatureProductionPlace | ( | const SignatureProductionPlace & | signatureProductionPlace | ) |
| signatureProductionPlace | place info, where the document is signed. |
Definition at line 33 of file Signer.cpp.
Referenced by create(), sign(), testPKCS11Signer(), testSignBDoc(), and testTMValidate().

| void digidoc::Signer::setSignerRole | ( | const SignerRole & | signerRole | ) |
| signerRole | role(s) of the signer. |
Definition at line 50 of file Signer.cpp.
Referenced by create(), sign(), testPKCS11Signer(), testSignBDoc(), and testTMValidate().

|
pure virtual |
Implemented in digidoc::PKCS11Signer, digidoc::RSASigner, and digidoc::CNGSigner.
|
virtual |
Reimplemented in digidoc::EstEIDSigner, and digidoc::CNGSigner.
Definition at line 25 of file Signer.cpp.
|
private |
|
private |