//okhttp-tls/okhttp3.tls/HeldCertificate/Builder/addSubjectAlternativeName
addSubjectAlternativeName¶
[jvm]\ fun addSubjectAlternativeName(altName: String): HeldCertificate.Builder
Adds a subject alternative name (SAN) to the certificate. This is usually a literal hostname, a literal IP address, or a hostname pattern. If no subject alternative names are added that extension will be omitted.