Skip to content

IpAddressesSubject Class

Identifies a subject by the IP addresses the transmitter observed for it (SSF 1.0 Section 3.5.3), each in the RFC 4001 textual representation.

C#
public sealed class IpAddressesSubject : Abblix.SecurityEvents.Subjects.SubjectIdentifier

Inheritance System.ObjectSubjectIdentifier → IpAddressesSubject

Constructors

IpAddressesSubject(string[]) Constructor

Creates an IP Addresses Subject Identifier from the addresses given.

C#
public IpAddressesSubject(params string[] ipAddresses);

Parameters

ipAddresses System.String[]

The observed IP addresses, under the same conditions as the primary constructor.

IpAddressesSubject(IReadOnlyList<string>) Constructor

Creates an IP Addresses Subject Identifier.

C#
public IpAddressesSubject(System.Collections.Generic.IReadOnlyList<string> ipAddresses);

Parameters

ipAddresses System.Collections.Generic.IReadOnlyList<System.String>

The observed IP addresses. REQUIRED; every entry must be a non-empty string. The specification bounds neither the count nor the syntax of an entry, so neither is enforced here.

Exceptions

System.ArgumentNullException
ipAddresses is null.

System.ArgumentException
ipAddresses holds a null or empty entry.

Properties

IpAddressesSubject.IpAddresses Property

The IP addresses of the subject as observed by the transmitter (SSF 1.0 Section 3.5.3).

C#
public System.Collections.Generic.IReadOnlyList<string> IpAddresses { get; }

Property Value

System.Collections.Generic.IReadOnlyList<System.String>