node-ikev2 0.1.4 → 0.3.0
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/lib/src/configuration-attribute.d.ts +2 -6
- package/lib/src/configuration-attribute.js +130 -203
- package/lib/src/index.d.ts +2 -0
- package/lib/src/index.js +2 -0
- package/lib/src/ip-address.d.ts +6 -0
- package/lib/src/ip-address.js +159 -0
- package/lib/src/payload.d.ts +5 -25
- package/lib/src/payload.js +23 -44
- package/lib/src/selector.d.ts +2 -2
- package/lib/src/selector.js +77 -17
- package/package.json +1 -1
|
@@ -263,7 +263,7 @@ export declare class P_CSCF_IP6_ADDRESS extends ConfigurationAttribute {
|
|
|
263
263
|
toJSON(): Record<string, any>;
|
|
264
264
|
toString(): string;
|
|
265
265
|
}
|
|
266
|
-
export declare class
|
|
266
|
+
export declare class CPAttributes {
|
|
267
267
|
INTERNAL_IP4_ADDRESS: INTERNAL_IP4_ADDRESS[];
|
|
268
268
|
INTERNAL_IP4_NETMASK: INTERNAL_IP4_NETMASK | undefined;
|
|
269
269
|
INTERNAL_IP4_DNS: INTERNAL_IP4_DNS[];
|
|
@@ -280,7 +280,7 @@ export declare class CP_Attributes {
|
|
|
280
280
|
P_CSCF_IP6_ADDRESS: P_CSCF_IP6_ADDRESS[];
|
|
281
281
|
OtherAttributes: ConfigurationAttribute[];
|
|
282
282
|
constructor();
|
|
283
|
-
parse(buffer: Buffer):
|
|
283
|
+
static parse(buffer: Buffer): CPAttributes;
|
|
284
284
|
/**
|
|
285
285
|
* Serializes the configuration attributes to a buffer
|
|
286
286
|
* @public
|
|
@@ -300,7 +300,3 @@ export declare class CP_Attributes {
|
|
|
300
300
|
*/
|
|
301
301
|
toString(): string;
|
|
302
302
|
}
|
|
303
|
-
export declare function parseIPv4AddressString(addressString: string): Buffer;
|
|
304
|
-
export declare function formatIPv4AddressBuffer(buffer: Buffer): string;
|
|
305
|
-
export declare function parseIPv6AddressString(addressString: string): Buffer;
|
|
306
|
-
export declare function formatIPv6AddressBuffer(addressBuffer: Buffer): string;
|