@open-charging-cloud/chargy-core 0.14.2 → 0.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +1 -1
- package/dist/browser/index.js +16 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/interfaces/IChargeTransparencyLiveLink.d.ts +42 -0
- package/dist/interfaces/IChargeTransparencyLiveLink.d.ts.map +1 -1
- package/dist/node/index.js +16 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export * from "./interfaces/chargyInterfaces";
|
|
|
27
27
|
export * from "./interfaces/IChargeTransparencyRecord";
|
|
28
28
|
export * from "./interfaces/IPublicKeyInfo";
|
|
29
29
|
export { IsAURL, IsValidURL, URLContext, type IURL, type URLResolver } from "./interfaces/IURL";
|
|
30
|
-
export { ChargeTransparencyLiveLinkContext, IsAChargeTransparencyLiveLink, type IChargeTransparencyLiveLink, type ITransport, type ITransportURL, type TOTPConfig, type Transport, type TransportHTTPS, type TransportHTTPSSE, type TransportWebsocket } from "./interfaces/IChargeTransparencyLiveLink";
|
|
30
|
+
export { ChargeTransparencyLiveLinkContext, IsAChargeTransparencyLiveLink, isCustomHeaderValue, isCustomHeaderValueProvider, isCustomHeaders, type CustomHeaderValue, type CustomHeaders, type IChargeTransparencyLiveLink, type ICustomHeaderValueProvider, type ITransport, type ITransportURL, type TOTPConfig, type Transport, type TransportHTTPS, type TransportHTTPSSE, type TransportWebsocket } from "./interfaces/IChargeTransparencyLiveLink";
|
|
31
31
|
export { collectDocumentPublicKeys, verifyDocumentSignatures, type DocumentSignatureStatus, type DocumentSignaturesStatus, type IDocumentPublicKey, type IDocumentSignatureResult, type IDocumentSignaturesResult } from "./DocumentSignatures";
|
|
32
32
|
export * as ChargyInterfaces from "./interfaces/chargyInterfaces";
|
|
33
33
|
export * as ChargeTransparencyLiveLink from "./interfaces/IChargeTransparencyLiveLink";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,gCAAgC,CAAC;AAC/C,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wCAAwC,CAAC;AACvD,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EACH,MAAM,EACN,UAAU,EACV,UAAU,EACV,KAAK,IAAI,EACT,KAAK,WAAW,EACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACH,iCAAiC,EACjC,6BAA6B,EAC7B,KAAK,2BAA2B,EAChC,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAC1B,MAAM,0CAA0C,CAAC;AA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AAU,EACV,UAAU,EACV,KAAK,IAAI,EACT,KAAK,WAAW,EACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACH,iCAAiC,EACjC,6BAA6B,EAC7B,mBAAmB,EACnB,2BAA2B,EAC3B,eAAe,EACf,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAC1B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACH,yBAAyB,EACzB,wBAAwB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EACjC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,0BAA0B,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,aAAa,MAAM,6BAA6B,CAAC;AAC7D,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC"}
|
|
@@ -3,6 +3,9 @@ import * as chargyLib from './chargyLib';
|
|
|
3
3
|
import type { IDocumentSignaturesResult } from '../DocumentSignatures';
|
|
4
4
|
export declare const ChargeTransparencyLiveLinkContext = "https://open.charging.cloud/contexts/chargeTransparency/live/link/1.0";
|
|
5
5
|
export declare function isConnector(data: unknown): data is IConnector;
|
|
6
|
+
export declare function isCustomHeaderValueProvider(data: unknown): data is ICustomHeaderValueProvider;
|
|
7
|
+
export declare function isCustomHeaderValue(data: unknown): data is CustomHeaderValue;
|
|
8
|
+
export declare function isCustomHeaders(data: unknown): data is CustomHeaders;
|
|
6
9
|
export declare function isTransport(data: unknown): data is Transport;
|
|
7
10
|
export declare function IsAChargeTransparencyLiveLink(data: unknown): data is IChargeTransparencyLiveLink;
|
|
8
11
|
export interface IChargeTransparencyLiveLink extends chargyLib.JSONObject {
|
|
@@ -62,6 +65,17 @@ export interface TransportHTTPS extends ITransport {
|
|
|
62
65
|
* means: do not poll.
|
|
63
66
|
*/
|
|
64
67
|
refresh?: number;
|
|
68
|
+
/**
|
|
69
|
+
* Additional HTTP headers to send with every request to this transport,
|
|
70
|
+
* e.g. an API key or a tenant selector its endpoint expects.
|
|
71
|
+
*
|
|
72
|
+
* They belong to this transport and to no other: a header meant for the
|
|
73
|
+
* operator's polling endpoint has no business being sent to some other
|
|
74
|
+
* transport's URLs. Like refresh, they are declared - and validated - on
|
|
75
|
+
* https alone; the other two transports do not open a request a client
|
|
76
|
+
* shapes header by header.
|
|
77
|
+
*/
|
|
78
|
+
customHeaders?: CustomHeaders;
|
|
65
79
|
}
|
|
66
80
|
export interface TransportHTTPSSE extends ITransport {
|
|
67
81
|
type: "httpSSE";
|
|
@@ -79,4 +93,32 @@ export interface TOTPConfig {
|
|
|
79
93
|
initialSharedSecret: string;
|
|
80
94
|
timeStep: number;
|
|
81
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* The custom HTTP headers of a transport, by header name.
|
|
98
|
+
*
|
|
99
|
+
* The names are the header names as they are to be sent; HTTP compares them
|
|
100
|
+
* case-insensitively, so a document that names one header twice in different
|
|
101
|
+
* spellings names one header - which one wins is the sending client's rule,
|
|
102
|
+
* not this format's.
|
|
103
|
+
*/
|
|
104
|
+
export type CustomHeaders = Record<string, CustomHeaderValue>;
|
|
105
|
+
/**
|
|
106
|
+
* What a custom header carries: either the literal string to send, or a
|
|
107
|
+
* provider that computes the value per request - a one-time password, say,
|
|
108
|
+
* which would be stale the moment it was written into a document.
|
|
109
|
+
*/
|
|
110
|
+
export type CustomHeaderValue = string | ICustomHeaderValueProvider;
|
|
111
|
+
/**
|
|
112
|
+
* A value computed per request rather than stated.
|
|
113
|
+
*
|
|
114
|
+
* Version 1.0 defines the shape, not the providers: what "TOTP" means, and
|
|
115
|
+
* what its parameters are called, needs an external profile or agreement, the
|
|
116
|
+
* same way the TOTP configuration does. ChargyCore validates the shape and
|
|
117
|
+
* computes no values - a client that does not know a provider sends no header
|
|
118
|
+
* for it rather than sending the description of one.
|
|
119
|
+
*/
|
|
120
|
+
export interface ICustomHeaderValueProvider {
|
|
121
|
+
valueProvider: string;
|
|
122
|
+
parameters?: chargyLib.JSONObject;
|
|
123
|
+
}
|
|
82
124
|
//# sourceMappingURL=IChargeTransparencyLiveLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IChargeTransparencyLiveLink.d.ts","sourceRoot":"","sources":["../../src/interfaces/IChargeTransparencyLiveLink.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,KAAK,gBAAgB,MAAa,oBAAoB,CAAA;AAClE,OAAO,KAAK,SAAS,MAAyB,aAAa,CAAA;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAGtE,eAAO,MAAM,iCAAiC,0EAA0E,CAAC;AAGzH,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,UAAU,CAM7D;
|
|
1
|
+
{"version":3,"file":"IChargeTransparencyLiveLink.d.ts","sourceRoot":"","sources":["../../src/interfaces/IChargeTransparencyLiveLink.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,KAAK,gBAAgB,MAAa,oBAAoB,CAAA;AAClE,OAAO,KAAK,SAAS,MAAyB,aAAa,CAAA;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAGtE,eAAO,MAAM,iCAAiC,0EAA0E,CAAC;AAGzH,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,UAAU,CAM7D;AAgBD,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,0BAA0B,CAM7F;A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,GACd,gBAAgB,GAChB,kBAAkB,CAAC;AAGvB,MAAM,WAAW,UAAU;IACvB,GAAG,CAAC,EAAG,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,GAAC,MAAM,CAAC,CAAC;IACnC,IAAI,CAAC,EAAE,UAAU,CAAC;CACrB;AAED,MAAM,WAAW,cAAmB,SAAQ,UAAU;IAClD,IAAI,EAAE,OAAO,CAAC;IAEd;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;OASG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CACjC;AAED,MAAM,WAAW,gBAAmB,SAAQ,UAAU;IAClD,IAAI,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,WAAW,kBAAmB,SAAQ,UAAU;IAClD,IAAI,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC1B,GAAG,EAAoB,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAc,MAAM,CAAC;IAC9B,MAAM,CAAC,EAAgB,MAAM,CAAC;CACjC;AAED,iDAAiD;AACjD,MAAM,WAAW,UAAU;IACvB,mBAAmB,EAAI,MAAM,CAAC;IAC9B,QAAQ,EAAe,MAAM,CAAC;CACjC;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAE9D;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,0BAA0B,CAAC;AAEpE;;;;;;;;GAQG;AACH,MAAM,WAAW,0BAA0B;IACvC,aAAa,EAAU,MAAM,CAAC;IAC9B,UAAU,CAAC,EAAY,SAAS,CAAC,UAAU,CAAC;CAC/C"}
|
package/dist/node/index.js
CHANGED
|
@@ -10261,6 +10261,9 @@ __export(IChargeTransparencyLiveLink_exports, {
|
|
|
10261
10261
|
ChargeTransparencyLiveLinkContext: () => ChargeTransparencyLiveLinkContext,
|
|
10262
10262
|
IsAChargeTransparencyLiveLink: () => IsAChargeTransparencyLiveLink,
|
|
10263
10263
|
isConnector: () => isConnector,
|
|
10264
|
+
isCustomHeaderValue: () => isCustomHeaderValue,
|
|
10265
|
+
isCustomHeaderValueProvider: () => isCustomHeaderValueProvider,
|
|
10266
|
+
isCustomHeaders: () => isCustomHeaders,
|
|
10264
10267
|
isTransport: () => isTransport
|
|
10265
10268
|
});
|
|
10266
10269
|
var ChargeTransparencyLiveLinkContext = "https://open.charging.cloud/contexts/chargeTransparency/live/link/1.0";
|
|
@@ -10274,6 +10277,15 @@ function isTransportURL(data) {
|
|
|
10274
10277
|
return data.trim() !== "";
|
|
10275
10278
|
return isObject(data) && typeof data["url"] === "string" && (data["priority"] === void 0 || typeof data["priority"] === "number") && (data["weight"] === void 0 || typeof data["weight"] === "number");
|
|
10276
10279
|
}
|
|
10280
|
+
function isCustomHeaderValueProvider(data) {
|
|
10281
|
+
return isMandatoryJSONObject(data) && typeof data["valueProvider"] === "string" && (data["parameters"] === void 0 || isMandatoryJSONObject(data["parameters"]));
|
|
10282
|
+
}
|
|
10283
|
+
function isCustomHeaderValue(data) {
|
|
10284
|
+
return typeof data === "string" || isCustomHeaderValueProvider(data);
|
|
10285
|
+
}
|
|
10286
|
+
function isCustomHeaders(data) {
|
|
10287
|
+
return isMandatoryJSONObject(data) && Object.values(data).every(isCustomHeaderValue);
|
|
10288
|
+
}
|
|
10277
10289
|
function isTransport(data) {
|
|
10278
10290
|
if (!isObject(data))
|
|
10279
10291
|
return false;
|
|
@@ -10284,6 +10296,9 @@ function isTransport(data) {
|
|
|
10284
10296
|
if (type === "https" && data["refresh"] !== void 0 && typeof data["refresh"] !== "number") {
|
|
10285
10297
|
return false;
|
|
10286
10298
|
}
|
|
10299
|
+
if (type === "https" && data["customHeaders"] !== void 0 && !isCustomHeaders(data["customHeaders"])) {
|
|
10300
|
+
return false;
|
|
10301
|
+
}
|
|
10287
10302
|
return (data["url"] === void 0 || typeof data["url"] === "string") && (data["urls"] === void 0 || Array.isArray(data["urls"]) && data["urls"].every(isTransportURL)) && (data["totp"] === void 0 || isTOTPConfig(data["totp"]));
|
|
10288
10303
|
}
|
|
10289
10304
|
function IsAChargeTransparencyLiveLink(data) {
|
|
@@ -12305,6 +12320,6 @@ var Chargy = class {
|
|
|
12305
12320
|
}
|
|
12306
12321
|
};
|
|
12307
12322
|
|
|
12308
|
-
export { ACrypt, Alfen, AlfenCrypt01, BSMCrypt01, CanonicalJSONError, ChargeIT, ChargePoint, ChargePointCrypt01, IChargeTransparencyLiveLink_exports as ChargeTransparencyLiveLink, ChargeTransparencyLiveLinkContext, IChargeTransparencyRecord_exports as ChargeTransparencyRecord, Chargy, chargyInterfaces_exports as ChargyInterfaces, Clone, CloneCTR, ConcatenateBuffers, CreateDiv, CreateDiv2, CreateError, CreateWarning, CryptoAlgorithms, CryptoHashAlgorithms, DayOfWeek, DisplayPrefixes, EDL40, EDL40Crypt01, EDL40ValidationError, EDL40_OBIS, EDL40_SESSION_CONTEXT, EDL40_SIGNATURE_CONTEXT, EMHCrypt01, ErrorLevel, GDFCrypt01, IECCurves, IEncoding, InformationRelevance, InformationRelevanceToString, IsAChargeTransparencyLiveLink, IsAChargeTransparencyRecord, IsAPublicKey, IsAPublicKeyLookup, IsAPublicKeySignature, IsAPublicKeyXY, IsASessionCryptoResult, IsAURL, IsNullOrEmpty, IsValidURL, JSONSignatureVerificationStatus, MENNEKES_EDL40_OBIS, MENNEKES_EDL40_XMLNS, Mennekes, MennekesCrypt01, OBIS2Hex, OBIS2MeasurementName, OBIS_RegExpr, OCMF, OCMFBonnTariffParseError, OCMFTransactionTypes, OCMF_SIGNATURE_ALGORITHMS, OCMFv1_x, OCPI, OIDInfo, PCDF, PCDFCrypt01, PCDFParseError, PCDFValidationError, PCDF_FIELD_ORDER, PCDF_PREFIX, PTB, ParseJSON_LD, PublicKeyFormats, IPublicKeyInfo_exports as PublicKeyInfo, SAFEXML, SessionVerificationResult, SetHex, SetInt8, SetText, SetText_withLength, SetTimestamp, SetTimestamp32, SetUInt32, SetUInt32_withCode, SetUInt64, SetUInt64D, SignMessage, SignatureFormats, IURL_exports as SimpleURL, TimeStatusTypes, URLContext, UTC2human, VerificationResult, VerifyJSONMessageSignatures, WarningLevel, WhenNullOrEmpty, XMLContainer, asJSONArray, asJSONObject, asNumber, asString, base64ToBytes, buf2hex, buildEDL40Signature, buildIsaSignature, buildMennekesSignatureData, bytesToBase64, bytesToHex, canParseEDL40, canonicalJSONBytes, canonicalJSONStringify, cleanHex, closeFullscreen, collectDocumentPublicKeys, createCompatibleCurve, createHexString, createLegacyP192Curve, dateToMennekesLocalEpochSeconds, decodeSmlMessages, extractMennekesChargingProcesses, findEntryByObis, findGetListRes, firstKey, firstValue, generateSignatureKeyPair, getArrayElement, getArrayLikeElement, getDirectChildByLocalName, getDirectChildrenByLocalName, getElementsByLocalName, getFirstArrayElement, getInt16Bytes, getInt32Bytes, getInt64Bytes, getInt8Bytes, getLastArrayElement, getOCMFSignatureDisplay, getSignatureSuite, getTrimmedTextContent, hashFile, hex2bin, hex32, hexToArrayBuffer, hexToBytes, intFromBytes, isEncodedValue, isGeoLocation, isI18NString, isICryptoResult, isIFileInfo, isISessionCryptoResult1, isISessionCryptoResult2, isJSONLDObject, isMandatoryArrayOfStrings, isMandatoryBoolean, isMandatoryDecimal, isMandatoryJSONArray, isMandatoryJSONObject, isMandatoryNumber, isMandatoryString, isMandatoryURL, isOIDInfo, isObject, isOptionalArrayOfStrings, isOptionalDecimal, isOptionalJSONArray, isOptionalJSONArrayError, isOptionalJSONArrayOk, isOptionalJSONObject, isOptionalNumber, isOptionalString, isOptionalStringArray, isOptionalStringOrOIDInfo, isOptionalURL, isPCDFText, isPublicKeySubject, isString, isStringArray, isStringOrOIDInfo, isStringOrStringArray, isaListNameContext, jsonPrettyPrinter, measurementName2human, meterTimeZone, normalizePCDFPublicKeyHex, normalizeXMLText, ocmfBonnTariffToChargingTariff, openFullscreen, pad, parseAndVerifyJSONSignatures, parseDescription, parseEDL40, parseHexString, parseMennekesXMLDocument, parseNumber, parseOBIS, parseOCMFBonnTariffText, parsePCDFDocument, parsePCDFPublicKey, parsePCDFSignature, parseSmlTime, parseUTC, readQRCodeTextFromImage, readQRCodeTextFromImageData, readTLV, secp224k1, setUILocale, sha256, sha256____, sha384, sha384____, sha512, sha512____, signJSONMessage, signMessage, stripPCDFControlCharacters, stripTransport, time2human, timeZoneOffsetMinutes, toArrayBuffer, toSessionVerificationResults, toUint8Array, transformEDL40Status, tryParseOCMFBonnTariffText, unquotePCDFText, validatePCDFFields, verifyDocumentSignatures, verifyEDL40Document, verifyJSONMessageSignatureResults, verifyJSONMessageSignatures, verifyJSONSignature, verifyJSONSignatureResult, verifyPCDFDocument };
|
|
12323
|
+
export { ACrypt, Alfen, AlfenCrypt01, BSMCrypt01, CanonicalJSONError, ChargeIT, ChargePoint, ChargePointCrypt01, IChargeTransparencyLiveLink_exports as ChargeTransparencyLiveLink, ChargeTransparencyLiveLinkContext, IChargeTransparencyRecord_exports as ChargeTransparencyRecord, Chargy, chargyInterfaces_exports as ChargyInterfaces, Clone, CloneCTR, ConcatenateBuffers, CreateDiv, CreateDiv2, CreateError, CreateWarning, CryptoAlgorithms, CryptoHashAlgorithms, DayOfWeek, DisplayPrefixes, EDL40, EDL40Crypt01, EDL40ValidationError, EDL40_OBIS, EDL40_SESSION_CONTEXT, EDL40_SIGNATURE_CONTEXT, EMHCrypt01, ErrorLevel, GDFCrypt01, IECCurves, IEncoding, InformationRelevance, InformationRelevanceToString, IsAChargeTransparencyLiveLink, IsAChargeTransparencyRecord, IsAPublicKey, IsAPublicKeyLookup, IsAPublicKeySignature, IsAPublicKeyXY, IsASessionCryptoResult, IsAURL, IsNullOrEmpty, IsValidURL, JSONSignatureVerificationStatus, MENNEKES_EDL40_OBIS, MENNEKES_EDL40_XMLNS, Mennekes, MennekesCrypt01, OBIS2Hex, OBIS2MeasurementName, OBIS_RegExpr, OCMF, OCMFBonnTariffParseError, OCMFTransactionTypes, OCMF_SIGNATURE_ALGORITHMS, OCMFv1_x, OCPI, OIDInfo, PCDF, PCDFCrypt01, PCDFParseError, PCDFValidationError, PCDF_FIELD_ORDER, PCDF_PREFIX, PTB, ParseJSON_LD, PublicKeyFormats, IPublicKeyInfo_exports as PublicKeyInfo, SAFEXML, SessionVerificationResult, SetHex, SetInt8, SetText, SetText_withLength, SetTimestamp, SetTimestamp32, SetUInt32, SetUInt32_withCode, SetUInt64, SetUInt64D, SignMessage, SignatureFormats, IURL_exports as SimpleURL, TimeStatusTypes, URLContext, UTC2human, VerificationResult, VerifyJSONMessageSignatures, WarningLevel, WhenNullOrEmpty, XMLContainer, asJSONArray, asJSONObject, asNumber, asString, base64ToBytes, buf2hex, buildEDL40Signature, buildIsaSignature, buildMennekesSignatureData, bytesToBase64, bytesToHex, canParseEDL40, canonicalJSONBytes, canonicalJSONStringify, cleanHex, closeFullscreen, collectDocumentPublicKeys, createCompatibleCurve, createHexString, createLegacyP192Curve, dateToMennekesLocalEpochSeconds, decodeSmlMessages, extractMennekesChargingProcesses, findEntryByObis, findGetListRes, firstKey, firstValue, generateSignatureKeyPair, getArrayElement, getArrayLikeElement, getDirectChildByLocalName, getDirectChildrenByLocalName, getElementsByLocalName, getFirstArrayElement, getInt16Bytes, getInt32Bytes, getInt64Bytes, getInt8Bytes, getLastArrayElement, getOCMFSignatureDisplay, getSignatureSuite, getTrimmedTextContent, hashFile, hex2bin, hex32, hexToArrayBuffer, hexToBytes, intFromBytes, isCustomHeaderValue, isCustomHeaderValueProvider, isCustomHeaders, isEncodedValue, isGeoLocation, isI18NString, isICryptoResult, isIFileInfo, isISessionCryptoResult1, isISessionCryptoResult2, isJSONLDObject, isMandatoryArrayOfStrings, isMandatoryBoolean, isMandatoryDecimal, isMandatoryJSONArray, isMandatoryJSONObject, isMandatoryNumber, isMandatoryString, isMandatoryURL, isOIDInfo, isObject, isOptionalArrayOfStrings, isOptionalDecimal, isOptionalJSONArray, isOptionalJSONArrayError, isOptionalJSONArrayOk, isOptionalJSONObject, isOptionalNumber, isOptionalString, isOptionalStringArray, isOptionalStringOrOIDInfo, isOptionalURL, isPCDFText, isPublicKeySubject, isString, isStringArray, isStringOrOIDInfo, isStringOrStringArray, isaListNameContext, jsonPrettyPrinter, measurementName2human, meterTimeZone, normalizePCDFPublicKeyHex, normalizeXMLText, ocmfBonnTariffToChargingTariff, openFullscreen, pad, parseAndVerifyJSONSignatures, parseDescription, parseEDL40, parseHexString, parseMennekesXMLDocument, parseNumber, parseOBIS, parseOCMFBonnTariffText, parsePCDFDocument, parsePCDFPublicKey, parsePCDFSignature, parseSmlTime, parseUTC, readQRCodeTextFromImage, readQRCodeTextFromImageData, readTLV, secp224k1, setUILocale, sha256, sha256____, sha384, sha384____, sha512, sha512____, signJSONMessage, signMessage, stripPCDFControlCharacters, stripTransport, time2human, timeZoneOffsetMinutes, toArrayBuffer, toSessionVerificationResults, toUint8Array, transformEDL40Status, tryParseOCMFBonnTariffText, unquotePCDFText, validatePCDFFields, verifyDocumentSignatures, verifyEDL40Document, verifyJSONMessageSignatureResults, verifyJSONMessageSignatures, verifyJSONSignature, verifyJSONSignatureResult, verifyPCDFDocument };
|
|
12309
12324
|
//# sourceMappingURL=index.js.map
|
|
12310
12325
|
//# sourceMappingURL=index.js.map
|