case class Names(commonName: String, altNames: Array[String] = Array.empty, ipSans: Array[String] = Array.empty, uriSans: Array[String] = Array.empty, otherSans: Array[String] = Array.empty, excludeCnFromSans: Boolean = false) extends Product with Serializable
- commonName
the requested CN for the certificate. If the CN is allowed by role policy, it will be issued.
- altNames
the requested Subject Alternative Names. These can be host names or email addresses; they will be parsed into their respective fields. If any requested names do not match role policy, the entire request will be denied.
- ipSans
the requested IP Subject Alternative Names. Only valid if the role allows IP SANs (which is the default).
- uriSans
the requested URI Subject Alternative Names. If any requested URIs do not match role policy, the entire request will be denied.
- otherSans
custom OID/UTF8-string SANs. These must match values specified on the role in allowed_other_sans (globbing allowed). The format is the same as OpenSSL: <oid>;<type>:<value> where the only current valid type is UTF8.
- excludeCnFromSans
If set, the given commonName will not be included in DNS or Email Subject Alternate Names (as appropriate). Useful if the CN is not a hostname or email address, but is instead some human-readable identifier.
- Source
- Names.scala
- Alphabetic
- By Inheritance
- Names
- Serializable
- Product
- Equals
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Names(commonName: String, altNames: Array[String] = Array.empty, ipSans: Array[String] = Array.empty, uriSans: Array[String] = Array.empty, otherSans: Array[String] = Array.empty, excludeCnFromSans: Boolean = false)
- commonName
the requested CN for the certificate. If the CN is allowed by role policy, it will be issued.
- altNames
the requested Subject Alternative Names. These can be host names or email addresses; they will be parsed into their respective fields. If any requested names do not match role policy, the entire request will be denied.
- ipSans
the requested IP Subject Alternative Names. Only valid if the role allows IP SANs (which is the default).
- uriSans
the requested URI Subject Alternative Names. If any requested URIs do not match role policy, the entire request will be denied.
- otherSans
custom OID/UTF8-string SANs. These must match values specified on the role in allowed_other_sans (globbing allowed). The format is the same as OpenSSL: <oid>;<type>:<value> where the only current valid type is UTF8.
- excludeCnFromSans
If set, the given commonName will not be included in DNS or Email Subject Alternate Names (as appropriate). Useful if the CN is not a hostname or email address, but is instead some human-readable identifier.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (Names, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val altNames: Array[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val commonName: String
- def ensuring(cond: (Names) => Boolean, msg: => Any): Names
- def ensuring(cond: (Names) => Boolean): Names
- def ensuring(cond: Boolean, msg: => Any): Names
- def ensuring(cond: Boolean): Names
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val excludeCnFromSans: Boolean
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val ipSans: Array[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val otherSans: Array[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val uriSans: Array[String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def →[B](y: B): (Names, B)
- Implicit
- This member is added by an implicit conversion from Names toArrowAssoc[Names] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.