UNPKG

@hazae41/x509

Version:

Zero-copy X.509 certificates in pure modern TypeScript

26 lines (23 loc) 795 B
import { invert } from '../../libs/invert/index.mjs'; var OIDs; (function (OIDs) { OIDs.keys = { commonName: "2.5.4.3", serialNumber: "2.5.4.5", countryName: "2.5.4.6", localityName: "2.5.4.7", stateOrProvinceName: "2.5.4.8", streetAddress: "2.5.4.9", organizationName: "2.5.4.10", organizationalUnitName: "2.5.4.11", emailAddress: "1.2.840.113549.1.9.1", sha256WithRSAEncryption: "1.2.840.113549.1.1.11", rsaEncryption: "1.2.840.113549.1.1.1", domainComponent: "0.9.2342.19200300.100.1.25", userId: "0.9.2342.19200300.100.1.1", subjectAltName: "2.5.29.17" }; OIDs.values = invert(OIDs.keys); })(OIDs || (OIDs = {})); export { OIDs }; //# sourceMappingURL=oids.mjs.map