restpki-client
Version:
Classes to consume Lacuna Software REST PKI
26 lines (20 loc) • 553 B
JavaScript
;
const {CadesSignerInfo} = require('./cades-signature');
class PadesSignerInfo extends CadesSignerInfo {
constructor(model) {
super(model);
this._isDocumentTimestamp = model.isDocumentTimestamp;
this._signatureFieldName = model.signatureFieldName;
this._hasLtv = model.hasLtv;
}
get isDocumentTimestamp() {
return this._isDocumentTimestamp;
}
get signatureFieldName() {
return this._signatureFieldName;
}
get hasLtv() {
return this._hasLtv;
}
}
exports.PadesSignerInfo = PadesSignerInfo;