class

San

const class San : Obj

San defines the api for a Subject Alternative Name based on RFC 5280.

constructors dirName

Create as SanType.dirName

dnsName

Create as SanType.dnsName

fromValue

Convenience for creating a San from a value

ipAddr

Create as SanType.ipAddr - Accepts IpAddr or Str (value stored as IpAddr)

otherName

Create as SanType.otherName

registeredId

Create as SanType.registeredId - Accepts AsnOid or Str (value stored as Str)

rfc822Name

Create as SanType.rfc822Name

uri

Create as SanType.uri - Accepts Uri or Str (value stored as Str)

fields type

RFC5280 Type

val

Get the value determined by the SanType

methods toStr

Get a friendly encoding using the format

dirName static new dirName(Str dn)

Create as SanType.dirName

dnsName static new dnsName(Str name)

Create as SanType.dnsName

fromValue static new fromValue(Obj value)

Convenience for creating a San from a value.

The value may be one of the following types:

  • Str: returns San.dnsName
  • Uri: returns San.uri
  • AsnOid: returns San.registeredId
  • Buf: returns San.otherName
  • IpAddr: returns San.ipAddr
  • San: returns itself

ipAddr static new ipAddr(Obj ip)

Create as SanType.ipAddr - Accepts IpAddr or Str (value stored as IpAddr)

otherName static new otherName(Buf buf)

Create as SanType.otherName

registeredId static new registeredId(Obj oid)

Create as SanType.registeredId - Accepts AsnOid or Str (value stored as Str)

rfc822Name static new rfc822Name(Str email)

Create as SanType.rfc822Name

toStr virtual Str toStr()

Get a friendly encoding using the format: {SanType.text}:{value}

type const SanType : type

RFC5280 Type

uri static new uri(Obj uri)

Create as SanType.uri - Accepts Uri or Str (value stored as Str)

val const Obj : val

Get the value determined by the SanType:

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT