pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
25 lines • 1.06 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dateOfBirth = void 0;
const tslib_1 = require("tslib");
const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional"));
const AttributeUsage_ta_1 = require("x500-ts/dist/node/modules/InformationFramework/AttributeUsage.ta");
const generalizedTimeMatch_oa_1 = require("x500-ts/dist/node/modules/SelectedAttributeTypes/generalizedTimeMatch.oa");
const pkcs_9_at_dateOfBirth_va_1 = require("../PKCS-9/pkcs-9-at-dateOfBirth.va");
exports.dateOfBirth = {
class: "ATTRIBUTE",
decoderFor: {
"&Type": $._decodeGeneralizedTime,
},
encoderFor: {
"&Type": $._encodeGeneralizedTime,
},
"&equality-match": generalizedTimeMatch_oa_1.generalizedTimeMatch,
"&single-valued": false,
"&id": pkcs_9_at_dateOfBirth_va_1.pkcs_9_at_dateOfBirth,
"&Type": 0,
"&collective": false,
"&no-user-modification": false,
"&usage": AttributeUsage_ta_1.userApplications,
};
//# sourceMappingURL=dateOfBirth.oa.js.map