22namespace transaction {
Contains the input/output data of the ::prepareComputeCardCertificate(LegacyCardCertificateComputatio...
virtual LegacyCardCertificateComputationData & setCardSerialNumber(const std::vector< uint8_t > &serialNumber)=0
Sets the serial number of the card for which the certificate is being generated.
virtual LegacyCardCertificateComputationData & setStartDate(const tm &startDate)=0
Sets the start date of the validity period of the certificate's public key.
virtual const std::vector< uint8_t > & getCertificate() const =0
Returns the certificate generated by the SAM after the execution of the "PSO Compute Certificate" com...
virtual LegacyCardCertificateComputationData & setCardPublicKey(const std::vector< uint8_t > &cardPublicKey)=0
Sets the public key of the card, provided as a 64-byte array.
virtual LegacyCardCertificateComputationData & setCardAid(const std::vector< uint8_t > &aid)=0
Sets the AID of the autonomous PKI application of the target card.
virtual LegacyCardCertificateComputationData & setEndDate(const tm &endDate)=0
Sets the end date of the validity period of the certificate's public key.
virtual LegacyCardCertificateComputationData & setCardStartupInfo(const std::vector< uint8_t > &startupInfo)=0
Sets the startup info of the card for which the certificate is being generated.