14 lines
474 B
TypeScript
14 lines
474 B
TypeScript
|
|
/**
|
||
|
|
* Class containing reusable JSON canonicalization operations using JSON Canonicalization Scheme (JCS).
|
||
|
|
*/
|
||
|
|
export default class JsonCanonicalizer {
|
||
|
|
/**
|
||
|
|
* Canonicalizes the given content as bytes.
|
||
|
|
*/
|
||
|
|
static canonicalizeAsBytes(content: object): Uint8Array;
|
||
|
|
/**
|
||
|
|
* Removes all properties within the given object with `undefined` as value.
|
||
|
|
*/
|
||
|
|
private static removeAllUndefinedProperties;
|
||
|
|
}
|
||
|
|
//# sourceMappingURL=JsonCanonicalizer.d.ts.map
|