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.
@@ -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 CP_Attributes {
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): void;
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;