Skip to content

UriSubject Class

Identifies a subject by a URI (RFC 9493 Section 3.2.7, RFC 3986).

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

Inheritance System.ObjectSubjectIdentifier → UriSubject

Remarks

This is the least specific of the formats, and RFC 9493 Section 3.2 asks applications to choose the most specific one available: an email address belongs in EmailSubject rather than in a "mailto:" URI here, because the format itself conveys meaning to the receiver.

Constructors

UriSubject(string) Constructor

Identifies a subject by a URI (RFC 9493 Section 3.2.7, RFC 3986).

C#
public UriSubject(string uri);

Parameters

uri System.String

A URI for the subject. REQUIRED, and must be neither null nor empty.

Remarks

This is the least specific of the formats, and RFC 9493 Section 3.2 asks applications to choose the most specific one available: an email address belongs in EmailSubject rather than in a "mailto:" URI here, because the format itself conveys meaning to the receiver.

Properties

UriSubject.Uri Property

The URI identifying the subject. RFC 9493 Section 3.2.7 makes no promise about its content, scheme or reachability, so it is neither dereferenced nor required to name a live resource.

C#
public string Uri { get; }

Property Value

System.String