Discuss this help topic in SecureBlackbox Forum
Creates a CAdES-EPES signature.
Declaration
[C++]
void CreateEPES(
TElX509Certificate &
Cert, const std::vector<uint8_t> &
PolicyID, int32_t
PolicyHashAlg, const std::vector<uint8_t> &
PolicyHash);
void CreateEPES(
TElX509Certificate *
Cert, const std::vector<uint8_t> &
PolicyID, int32_t
PolicyHashAlg, const std::vector<uint8_t> &
PolicyHash);
void CreateEPES(
TElX509Certificate &
Cert, const std::vector<uint8_t> &
ContentType, const std::vector<uint8_t> &
PolicyID, int32_t
PolicyHashAlg, const std::vector<uint8_t> &
PolicyHash);
void CreateEPES(
TElX509Certificate *
Cert, const std::vector<uint8_t> &
ContentType, const std::vector<uint8_t> &
PolicyID, int32_t
PolicyHashAlg, const std::vector<uint8_t> &
PolicyHash);
void CreateEPES(
TElX509Certificate &
Cert,
TElCustomCertStorage &
Chain, const std::vector<uint8_t> &
ContentType, const std::vector<uint8_t> &
PolicyID, int32_t
PolicyHashAlg, const std::vector<uint8_t> &
PolicyHash, const std::string &
URI, const std::string &
UNOrganization, const std::vector<int32_t> &
UNNumbers, const std::string &
ExplicitText);
void CreateEPES(
TElX509Certificate *
Cert,
TElCustomCertStorage *
Chain, const std::vector<uint8_t> &
ContentType, const std::vector<uint8_t> &
PolicyID, int32_t
PolicyHashAlg, const std::vector<uint8_t> &
PolicyHash, const std::string &
URI, const std::string &
UNOrganization, const std::vector<int32_t> &
UNNumbers, const std::string &
ExplicitText);
Parameters
- Cert - specifies the signing certificate.
- Chain - the certificate chain to be added to the signature.
- ContentType - specifies the content type of the signed message.
- ExplicitText - contains the value of the explicit text signature policy qualifier.
- PolicyHash - specifies policy hash value.
- PolicyHashAlg - specifies the hash algorithm used to compute the policy hash. Only SB_ALGORITHM_DGST_SHA1 is allowed so far.
- PolicyID - specifies the signature-policy-identifier attribute.
- UNNumbers - specifies the notice numbers by which the explicit notice texts can be retrieved.
- UNOrganization - specifies the organization which issued the signature policy.
- URI - specifies the value of the URI signature policy qualifier, which contains a URI or URL reference to the signature policy.
Description
Call this method to create a CAdES-EPES (Explicit Policy-based Electronic Signature).
This signature explicitly specifies the policy that shall be used for the signature validation.
Discuss this help topic in SecureBlackbox Forum