libdigidocpp
|
Implements Signer
interface for PKCS#12 files.
More...
#include <PKCS12Signer.h>
Inherits digidoc::Signer.
Public Member Functions | |
PKCS12Signer (const std::string &path, const std::string &pass) | |
virtual | ~PKCS12Signer () |
![]() | |
virtual | ~Signer () |
std::string | method () const |
std::string | profile () const |
bool | usingENProfile () const |
std::string | city () const |
std::string | streetAddress () const |
std::string | stateOrProvince () const |
std::string | postalCode () const |
std::string | countryName () const |
std::vector< std::string > | signerRoles () const |
void | setMethod (const std::string &method) |
void | setProfile (const std::string &profile) |
void | setENProfile (bool enable) |
void | setSignatureProductionPlace (const std::string &city, const std::string &stateOrProvince, const std::string &postalCode, const std::string &countryName) |
void | setSignatureProductionPlaceV2 (const std::string &city, const std::string &streetAddress, const std::string &stateOrProvince, const std::string &postalCode, const std::string &countryName) |
void | setSignerRoles (const std::vector< std::string > &signerRoles) |
Additional Inherited Members | |
![]() | |
Signer () | |
Implements Signer
interface for PKCS#12 files.
PKCS12Signer::PKCS12Signer | ( | const std::string & | path, |
const std::string & | pass | ||
) |
Initializes the PKCS12 signer with PKCS#12 file and password.
path | PKCS#12 file path |
pass | PKCS#12 file password |
Exception | throws exception if the file is not found or wrong password |
|
virtual |
References digidoc::Signer::method().